I've just setup transactional replication using a licensed copy of v1.4.0.3132. It works, but it's really slow with transactions involving large row counts. I'm getting a synch rate of about 2500 rows / minute...
Is there something I can to increase my performance?
I'm going from SQL Server 2008 R2 to Postgres 9.2.1.
I'm just doing straight inserts into fairly wide table. Something like this:
insert ReplicatedTable [...]
selet top 2500 [...]
from Source
The insert statement itself only takes a second. According to replication monitor, my time to DistributionDB is only a second. The lag is from distribution to subscriber.
I followed the replication directions in the developer manual at first. I eventually tried to change the extended properties of PGNP via
exec sp_addpushsubscription_agent @publication = N'PostgresPublication',
@subscriber_provider = N'PGNP', @subscriber_provider_string = N'PORT=5432;BULK_METHOD=Copy;BULK_INSERT=15000;',
to no avail.
I also tried to increase the -CommitBatchSize and -CommitBatchSizeThreshold of my distribution agent, also with no success.
I have an SSIS package running on the same SQL/Postgres servers that is getting a much, much higher throughput... Will I be able to get the same kind of performance out of transactional replication?
Thanks,
Nick
