Re: Precomputed Partitions

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Yes they should be all at SQL 2005 Express edition.

On Jul 24, 11:31 am, Doug <D...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hilary,

Thanks for the info.....in case you read this..another question.

The publication in question has many subscribers that are currently at MSDE
2000 SP4.  Do ALL of the subscribers have to be at Express (2005) level
before Precomputed Patitions is turned on or can some subscribers still be at
the 2000 level?  I'm thinking ALL the subscribers have to upgraded first, but
maybe(hopfully) not.

Thanks for any info,

Doug

"Hilary Cotter" wrote:
Keep partition changes means that if you update rows to a value where
they no longer meed the filtering condition the rows will be deleted
(@keep_partition_changes='false'), or remain
(@keep_partition_changes='true').

The precomputed partitions option will use triggers to keep track of
changes which are occuring in a partition. For example if you have two
sales people, Sam and Jack, and Jack sells a lot of stuff, these
triggers will write to a table which have references to all the stuff
that Jack sold. When the merge agent tries to sync with the subscriber
who gets Jack's data, the agent will reference this tracking table. If
you do not use precomputed partitions this metadata will not be kept
and the syncs will take longer, but all the DML will be faster.

So while these two options share the term partition in their name,
they are really talking about different concepts altogether.

On Jul 23, 1:20 pm, Doug <D...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
We upgraded recently to SQL Server 2005 SP2 .

For some issues we are having, we are looking at precomputed partitiions
with our merge publication.

When I run a  sp_helpmergesubscription I see:

keep_partition_changes = 1
use_partition_groups  = 1

The system would have had to do these settings as we haven't done
anything yet with this process.

Looking at BOL, I get a bit confused.  It says
"The use partition groups option provides the greatest performance
improvement
through the use of the precomputed partitions feature.
This option is set to true by default if the articles in your publication
adhere to a set of requirements.
For more information about these requirements,
see Optimizing Parameterized Filter Performance with Precomputed Partitions.
If your articles do not meet the requirements for using precomputed
partitions,
the keep partition changes option to is set to true."

From the above info, it seems only one of these properties should have been
set to 1
as the publication should either have met or not met the requirements..

Another location in BOL also states
"Optimize Synchronization

This option should be set to True only if Precompute Partitions is set to
False.
Set this option on the Subscription Options page of the Publication
Properties - <Publication> dialog box"

Again, I don't know why the system set them both to True if it says it
shouldn't be that way.

Can anyone tell me how the settings should really be for precomputed
partitions to work?

TIA,

Doug

.



Relevant Pages

  • Re: Precomputed Partitions
    ... The publication in question has many subscribers that are currently at MSDE ... you do not use precomputed partitions this metadata will not be kept ... This option should be set to True only if Precompute Partitions is set to ...
    (microsoft.public.sqlserver.replication)
  • Re: Precomputed Partitions
    ... you do not use precomputed partitions this metadata will not be kept ... This option is set to true by default if the articles in your publication ... the keep partition changes option to is set to true." ...
    (microsoft.public.sqlserver.replication)
  • Re: datatype conversion error in sql 2000 replication
    ... Change your publication to not allow updateable subscribers or simply put ... If we were able to create the initial snapshot, ... Transaction sequence number and command ID of last execution batch ...
    (microsoft.public.sqlserver.replication)
  • Re: Configuring Peer-to_Peer Merge Replication: SQLServer 2005
    ... First of all you don't need a merge publication, ... publication configured for immediate updating subscribers. ... Looking for a SQL Server replication book? ... replicate all updates to all three servers. ...
    (microsoft.public.sqlserver.replication)
  • Re: Snapshot agent - Filter Rows
    ... Could you post the publication schema and the schema of the table ... Director of Text Mining and Database Strategy ... RelevantNOISE.Com - Dedicated to mining blogs for business intelligence. ...
    (microsoft.public.sqlserver.replication)