Showing posts with label edition. Show all posts
Showing posts with label edition. Show all posts

Friday, March 23, 2012

Out of Partition Deletions

Hi,

I have merge replication working between SQL Server 2005 and SQL Server 2005 Mobile Edition. The subscriber data partitions are determined by device serial number, which is being passed in as the HOST_NAME() parameter for filtering. Lately I've received complaints of slow synchronizations, and a quick inspection showed an unexpectedly high number of deletions.

Further investigation has revealed that subscribers are being passed deletions for data which is outside of their data partitions. I found that inserts and updates were well behaved - if a row was inserted or updated outside of the partition, nothing was replicated. However, if an out of partition deletion was performed, it was in fact replicated - to every subscriber.

So, why is it that replication knows the row doesn't belong to a data partition for inserts and updates, but not deletes? I've been unable to find either an explanation or workaround for this problem.

Any insight would be greatly appreciated!

Thanks,
Adrien.

If i had to give a rough guess i think what it is doing is realigning the partitions. Your deletes must be deleting records from the filtering hiherarchy which change a partition. So those are being sent everywhere to make sure the subscribers have the correct partition of data.

Take a look at parameter @.allow_partition_realignment

http://technet.microsoft.com/en-us/library/ms176103.aspx

Unfortunately if you are using dynamic filtering it will not allow you to turn this off.

Martin

|||That's an interesting setting, but it doesn't seem to apply. I'll explain things with an example:

Users
user_id
warehouse_id
user_name
serial_number

Warehouses
warehouse_id
warehouse_name

Orders
order_id
warehouse_id
order_date

OrderDetail
detail_id
order_id
item_name
item_quantity

serial_number is being passed for HOST_NAME() dynamic filtering. A user should only see orders belonging to his assigned warehouse (and obviously only order details linked to orders belonging to that warehouse). For the purpose of this example, say we have two users, User1 and User2, and two warehouses, Warehouse1 and Warehouse2. Each warehouse has only one order, and each order has two order details.

The problem I'm having is that deleting (at the publisher) an order detail for an order belonging to Warehouse2 would cause a deletion not just for User2, but for User1 as well. I don't see how this is causing partition changes (unless moving from a partition to no partition counts as a partition change).

Hopefully this helps clarify my problem somewhat. This is still causing me no end of problems, and any advice would be greatly appreciated.

Thanks,
Adrien.

Out of Partition Deletions

Hi,

I have merge replication working between SQL Server 2005 and SQL Server 2005 Mobile Edition. The subscriber data partitions are determined by device serial number, which is being passed in as the HOST_NAME() parameter for filtering. Lately I've received complaints of slow synchronizations, and a quick inspection showed an unexpectedly high number of deletions.

Further investigation has revealed that subscribers are being passed deletions for data which is outside of their data partitions. I found that inserts and updates were well behaved - if a row was inserted or updated outside of the partition, nothing was replicated. However, if an out of partition deletion was performed, it was in fact replicated - to every subscriber.

So, why is it that replication knows the row doesn't belong to a data partition for inserts and updates, but not deletes? I've been unable to find either an explanation or workaround for this problem.

Any insight would be greatly appreciated!

Thanks,
Adrien.

If i had to give a rough guess i think what it is doing is realigning the partitions. Your deletes must be deleting records from the filtering hiherarchy which change a partition. So those are being sent everywhere to make sure the subscribers have the correct partition of data.

Take a look at parameter @.allow_partition_realignment

http://technet.microsoft.com/en-us/library/ms176103.aspx

Unfortunately if you are using dynamic filtering it will not allow you to turn this off.

Martin

|||That's an interesting setting, but it doesn't seem to apply. I'll explain things with an example:

Users
user_id
warehouse_id
user_name
serial_number

Warehouses
warehouse_id
warehouse_name

Orders
order_id
warehouse_id
order_date

OrderDetail
detail_id
order_id
item_name
item_quantity

serial_number is being passed for HOST_NAME() dynamic filtering. A user should only see orders belonging to his assigned warehouse (and obviously only order details linked to orders belonging to that warehouse). For the purpose of this example, say we have two users, User1 and User2, and two warehouses, Warehouse1 and Warehouse2. Each warehouse has only one order, and each order has two order details.

The problem I'm having is that deleting (at the publisher) an order detail for an order belonging to Warehouse2 would cause a deletion not just for User2, but for User1 as well. I don't see how this is causing partition changes (unless moving from a partition to no partition counts as a partition change).

Hopefully this helps clarify my problem somewhat. This is still causing me no end of problems, and any advice would be greatly appreciated.

Thanks,
Adrien.

Out of Partition Deletions

Hi,

I have merge replication working between SQL Server 2005 and SQL Server 2005 Mobile Edition. The subscriber data partitions are determined by device serial number, which is being passed in as the HOST_NAME() parameter for filtering. Lately I've received complaints of slow synchronizations, and a quick inspection showed an unexpectedly high number of deletions.

Further investigation has revealed that subscribers are being passed deletions for data which is outside of their data partitions. I found that inserts and updates were well behaved - if a row was inserted or updated outside of the partition, nothing was replicated. However, if an out of partition deletion was performed, it was in fact replicated - to every subscriber.

So, why is it that replication knows the row doesn't belong to a data partition for inserts and updates, but not deletes? I've been unable to find either an explanation or workaround for this problem.

Any insight would be greatly appreciated!

Thanks,
Adrien.

If i had to give a rough guess i think what it is doing is realigning the partitions. Your deletes must be deleting records from the filtering hiherarchy which change a partition. So those are being sent everywhere to make sure the subscribers have the correct partition of data.

Take a look at parameter @.allow_partition_realignment

http://technet.microsoft.com/en-us/library/ms176103.aspx

Unfortunately if you are using dynamic filtering it will not allow you to turn this off.

Martin

|||That's an interesting setting, but it doesn't seem to apply. I'll explain things with an example:

Users
user_id
warehouse_id
user_name
serial_number

Warehouses
warehouse_id
warehouse_name

Orders
order_id
warehouse_id
order_date

OrderDetail
detail_id
order_id
item_name
item_quantity

serial_number is being passed for HOST_NAME() dynamic filtering. A user should only see orders belonging to his assigned warehouse (and obviously only order details linked to orders belonging to that warehouse). For the purpose of this example, say we have two users, User1 and User2, and two warehouses, Warehouse1 and Warehouse2. Each warehouse has only one order, and each order has two order details.

The problem I'm having is that deleting (at the publisher) an order detail for an order belonging to Warehouse2 would cause a deletion not just for User2, but for User1 as well. I don't see how this is causing partition changes (unless moving from a partition to no partition counts as a partition change).

Hopefully this helps clarify my problem somewhat. This is still causing me no end of problems, and any advice would be greatly appreciated.

Thanks,
Adrien.

Monday, March 12, 2012

ot: upgrading msde to SQL Server 2005 Express Edition

has anybody tried to do that yet? any experiences? how-tos?I just moved an MSDE database to SQL2005 Express with noproblems. I created a new instance with SQL2005 Express thendetached the DB from the MSDE instance moved the files and attached itto the Express instance. Everything appears to be working (thoughit is on a dev box).
Only issue to resolve now is backing up the database automatically,Express doesn't have an agent and I haven't found out how to back upthe DB.
HTH
Antony
|||

thanks'.

backup: i was reading something about the windows task scheduler ...

|||NP
With back up I have started a sep thread in another forum to try and sort this out.
http://forums.asp.net/1107445/ShowPost.aspx
Antony

Saturday, February 25, 2012

OS requirements.

I am considering buying a new home PC but want to make sure it can handle SQL 2005. Most of what Im looking at comes with XP Home edition. I found this:

http://www.microsoft.com/sql/editions/developer/sysreqs.mspx

but it doesnt specifically say Home edition, and I dont want to purchase without knowing this first. Does anyone know a link that would specify this?

TIA, cfrI was considering buying a new pc for myself, but decided to wait for about 6 - 9 more months. Just a couple of reasons why.

1. Windows Vista will come pre-installed, save yourself some $$
2. Windows Vista is 64-bit compatible, so make sure you get a 64-bit processor. Even though a lot of apps don't run at 64-bit and thus don't really benefit from it, it is still good if your OS is running as fast as possible.
3. Windows Vista supports and adds security (http://www.microsoft.com/sql/howtobuy/sqlonvista.mspx)to SQL Server 2005

Just some thoughts.
Hope it helps|||Does anyone else happen to know about XP Home? Media Center?

OS requirements for SQL 2000

Can i run SQL 2000 Enterprise Edition 32 bit on Windows Server 2003 64 bit?
Thx,
DonYes, on X64 not Itanium. But you'll miss much of the advantages of the 64 bi
t HW/OS.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"donsql22222" <donsql22222@.discussions.microsoft.com> wrote in message
news:46697153-FC06-42A0-A8D0-EB825A234264@.microsoft.com...
> Can i run SQL 2000 Enterprise Edition 32 bit on Windows Server 2003 64 bit
?
> Thx,
> Don
>

OS requirements for MSSQL2K5.

Can 2005 be installed on XP Media Center Edition? I looked on the SQL site,
but it only references Windows XP, not this particular version.
TIA, ChrisR"ChrisR" <ChrisR@.discussions.microsoft.com> wrote in message
news:368FB023-9CEA-493B-A939-D941E6561F96@.microsoft.com...
> Can 2005 be installed on XP Media Center Edition? I looked on the SQL
> site,
> but it only references Windows XP, not this particular version.
Yes. I have it on my laptop. Make sure you have at least 1 gig of ram.|||Do you know of any links regarding this matter? Its not that I don't believe
you, it's just that I want to buy a new computer for home and this is the OS
most of them come with these days.
"_Stephen" wrote:

> "ChrisR" <ChrisR@.discussions.microsoft.com> wrote in message
> news:368FB023-9CEA-493B-A939-D941E6561F96@.microsoft.com...
> Yes. I have it on my laptop. Make sure you have at least 1 gig of ram.
>
>|||"ChrisR" <ChrisR@.discussions.microsoft.com> wrote in message
news:368FB023-9CEA-493B-A939-D941E6561F96@.microsoft.com...
> Can 2005 be installed on XP Media Center Edition? I looked on the SQL
> site,
> but it only references Windows XP, not this particular version.
Yes. I have it on my laptop. Make sure you have at least 1 gig of ram.|||Do you know of any links regarding this matter? Its not that I don't believe
you, it's just that I want to buy a new computer for home and this is the OS
most of them come with these days.
"_Stephen" wrote:

> "ChrisR" <ChrisR@.discussions.microsoft.com> wrote in message
> news:368FB023-9CEA-493B-A939-D941E6561F96@.microsoft.com...
> Yes. I have it on my laptop. Make sure you have at least 1 gig of ram.
>
>|||"ChrisR" <ChrisR@.discussions.microsoft.com> wrote in message
news:6BC0D546-6DD1-41A5-9EFB-03118F207EDB@.microsoft.com...
> Do you know of any links regarding this matter? Its not that I don't
> believe
> you, it's just that I want to buy a new computer for home and this is the
> OS
> most of them come with these days.
Media Center is XP Pro with better entertainment media capabilities.|||"ChrisR" <ChrisR@.discussions.microsoft.com> wrote in message
news:6BC0D546-6DD1-41A5-9EFB-03118F207EDB@.microsoft.com...
> Do you know of any links regarding this matter? Its not that I don't
> believe
> you, it's just that I want to buy a new computer for home and this is the
> OS
> most of them come with these days.
Media Center is XP Pro with better entertainment media capabilities.

Monday, February 20, 2012

OS requirements for MSSQL2K5.

Can 2005 be installed on XP Media Center Edition? I looked on the SQL site,
but it only references Windows XP, not this particular version.
TIA, ChrisR"ChrisR" <ChrisR@.discussions.microsoft.com> wrote in message
news:368FB023-9CEA-493B-A939-D941E6561F96@.microsoft.com...
> Can 2005 be installed on XP Media Center Edition? I looked on the SQL
> site,
> but it only references Windows XP, not this particular version.
Yes. I have it on my laptop. Make sure you have at least 1 gig of ram.|||Do you know of any links regarding this matter? Its not that I don't believe
you, it's just that I want to buy a new computer for home and this is the OS
most of them come with these days.
"_Stephen" wrote:
> "ChrisR" <ChrisR@.discussions.microsoft.com> wrote in message
> news:368FB023-9CEA-493B-A939-D941E6561F96@.microsoft.com...
> > Can 2005 be installed on XP Media Center Edition? I looked on the SQL
> > site,
> > but it only references Windows XP, not this particular version.
> Yes. I have it on my laptop. Make sure you have at least 1 gig of ram.
>
>|||"ChrisR" <ChrisR@.discussions.microsoft.com> wrote in message
news:6BC0D546-6DD1-41A5-9EFB-03118F207EDB@.microsoft.com...
> Do you know of any links regarding this matter? Its not that I don't
> believe
> you, it's just that I want to buy a new computer for home and this is the
> OS
> most of them come with these days.
Media Center is XP Pro with better entertainment media capabilities.

OS requirements for 2005.

Can 2005 be installed on XP Media Center Edition? I looked on the SQL site,
but it only references Windows XP, not this particular version. Any whitepapers, links, etc., would be especially appreciated.
TIA, ChrisRFound it...

http://support.microsoft.com/?scid=kb;en-us;910228&spid=2855&sid=312#E03W0ABAAA

OS requirements for 2005.

Howdy all. Im considering buying a new home PC, and would like to install
the developer edition of SQL 2005 once I have it. Most new PC's that Im
looking at have either WIN XP Home or Media Center. I see the requirements
for SQL 2005 here:
http://www.microsoft.com/sql/editions/developer/sysreqs.mspx
but it doesnt say specifically if these versions of the OS will work or not.
I know it will install fine on XP Pro, but Id like to avoid the purchase
upgrade if possible. Can someone please assist?
TIA, CFR
Thanks for the speedy response!
"Theo Verweij" <tverweij@.xs4all.nl> wrote in message
news:eAdEHPCAHHA.4348@.TK2MSFTNGP04.phx.gbl...[vbcol=seagreen]
> Home and Media Centre does not have an IIS aboard. So all functionality
> (like reporting services, http endpoinds, etc) that need IIS won't work
> with these versions.
> To use all functions in SQL, you need a pro or a server.
> ChrisR wrote:
install[vbcol=seagreen]
requirements[vbcol=seagreen]
not.[vbcol=seagreen]
|||You will need SP2 for Home Edition.
And if you want to do development that requires IIS, this article may help.
Installing IIS on Windows XP Home Edition
http://www.webthang.co.uk/Tuts/tuts_server/iis_xph/pippo_xp.asp
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf
"ChrisR" <noFudgingWay@.NoEmail.com> wrote in message
news:%23c%23WZMCAHHA.4428@.TK2MSFTNGP04.phx.gbl...
> Howdy all. Im considering buying a new home PC, and would like to install
> the developer edition of SQL 2005 once I have it. Most new PC's that Im
> looking at have either WIN XP Home or Media Center. I see the requirements
> for SQL 2005 here:
> http://www.microsoft.com/sql/editions/developer/sysreqs.mspx
> but it doesnt say specifically if these versions of the OS will work or
> not.
> I know it will install fine on XP Pro, but Id like to avoid the purchase
> upgrade if possible. Can someone please assist?
> TIA, CFR
>

OS requirements for 2005.

Howdy all. Im considering buying a new home PC, and would like to install
the developer edition of SQL 2005 once I have it. Most new PC's that Im
looking at have either WIN XP Home or Media Center. I see the requirements
for SQL 2005 here:
http://www.microsoft.com/sql/editions/developer/sysreqs.mspx
but it doesnt say specifically if these versions of the OS will work or not.
I know it will install fine on XP Pro, but Id like to avoid the purchase
upgrade if possible. Can someone please assist?
TIA, CFRHome and Media Centre does not have an IIS aboard. So all functionality
(like reporting services, http endpoinds, etc) that need IIS won't work
with these versions.
To use all functions in SQL, you need a pro or a server.
ChrisR wrote:
> Howdy all. Im considering buying a new home PC, and would like to install
> the developer edition of SQL 2005 once I have it. Most new PC's that Im
> looking at have either WIN XP Home or Media Center. I see the requirements
> for SQL 2005 here:
> http://www.microsoft.com/sql/editions/developer/sysreqs.mspx
> but it doesnt say specifically if these versions of the OS will work or not.
> I know it will install fine on XP Pro, but Id like to avoid the purchase
> upgrade if possible. Can someone please assist?
> TIA, CFR
>|||Thanks for the speedy response!
"Theo Verweij" <tverweij@.xs4all.nl> wrote in message
news:eAdEHPCAHHA.4348@.TK2MSFTNGP04.phx.gbl...
> Home and Media Centre does not have an IIS aboard. So all functionality
> (like reporting services, http endpoinds, etc) that need IIS won't work
> with these versions.
> To use all functions in SQL, you need a pro or a server.
> ChrisR wrote:
> > Howdy all. Im considering buying a new home PC, and would like to
install
> > the developer edition of SQL 2005 once I have it. Most new PC's that Im
> > looking at have either WIN XP Home or Media Center. I see the
requirements
> > for SQL 2005 here:
> >
> > http://www.microsoft.com/sql/editions/developer/sysreqs.mspx
> >
> > but it doesnt say specifically if these versions of the OS will work or
not.
> > I know it will install fine on XP Pro, but Id like to avoid the purchase
> > upgrade if possible. Can someone please assist?
> >
> > TIA, CFR
> >
> >|||You will need SP2 for Home Edition.
And if you want to do development that requires IIS, this article may help.
Installing IIS on Windows XP Home Edition
http://www.webthang.co.uk/Tuts/tuts_server/iis_xph/pippo_xp.asp
--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf
"ChrisR" <noFudgingWay@.NoEmail.com> wrote in message
news:%23c%23WZMCAHHA.4428@.TK2MSFTNGP04.phx.gbl...
> Howdy all. Im considering buying a new home PC, and would like to install
> the developer edition of SQL 2005 once I have it. Most new PC's that Im
> looking at have either WIN XP Home or Media Center. I see the requirements
> for SQL 2005 here:
> http://www.microsoft.com/sql/editions/developer/sysreqs.mspx
> but it doesnt say specifically if these versions of the OS will work or
> not.
> I know it will install fine on XP Pro, but Id like to avoid the purchase
> upgrade if possible. Can someone please assist?
> TIA, CFR
>

OS requirements for 2005.

Howdy all. Im considering buying a new home PC, and would like to install
the developer edition of SQL 2005 once I have it. Most new PC's that Im
looking at have either WIN XP Home or Media Center. I see the requirements
for SQL 2005 here:
http://www.microsoft.com/sql/editio...er/sysreqs.mspx
but it doesnt say specifically if these versions of the OS will work or not.
I know it will install fine on XP Pro, but Id like to avoid the purchase
upgrade if possible. Can someone please assist?
TIA, CFRHome and Media Centre does not have an IIS aboard. So all functionality
(like reporting services, http endpoinds, etc) that need IIS won't work
with these versions.
To use all functions in SQL, you need a pro or a server.
ChrisR wrote:
> Howdy all. Im considering buying a new home PC, and would like to install
> the developer edition of SQL 2005 once I have it. Most new PC's that Im
> looking at have either WIN XP Home or Media Center. I see the requirements
> for SQL 2005 here:
> http://www.microsoft.com/sql/editio...er/sysreqs.mspx
> but it doesnt say specifically if these versions of the OS will work or no
t.
> I know it will install fine on XP Pro, but Id like to avoid the purchase
> upgrade if possible. Can someone please assist?
> TIA, CFR
>|||Thanks for the speedy response!
"Theo Verweij" <tverweij@.xs4all.nl> wrote in message
news:eAdEHPCAHHA.4348@.TK2MSFTNGP04.phx.gbl...[vbcol=seagreen]
> Home and Media Centre does not have an IIS aboard. So all functionality
> (like reporting services, http endpoinds, etc) that need IIS won't work
> with these versions.
> To use all functions in SQL, you need a pro or a server.
> ChrisR wrote:
install[vbcol=seagreen]
requirements[vbcol=seagreen]
not.[vbcol=seagreen]|||You will need SP2 for Home Edition.
And if you want to do development that requires IIS, this article may help.
Installing IIS on Windows XP Home Edition
http://www.webthang.co.uk/Tuts/tuts...ph/pippo_xp.asp
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf
"ChrisR" <noFudgingWay@.NoEmail.com> wrote in message
news:%23c%23WZMCAHHA.4428@.TK2MSFTNGP04.phx.gbl...
> Howdy all. Im considering buying a new home PC, and would like to install
> the developer edition of SQL 2005 once I have it. Most new PC's that Im
> looking at have either WIN XP Home or Media Center. I see the requirements
> for SQL 2005 here:
> http://www.microsoft.com/sql/editio...er/sysreqs.mspx
> but it doesnt say specifically if these versions of the OS will work or
> not.
> I know it will install fine on XP Pro, but Id like to avoid the purchase
> upgrade if possible. Can someone please assist?
> TIA, CFR
>