The merge replication running continuously between two servers (sql server
7.0) on a 100MB database with 300 tables. The transaction log size grows to
more than 100MB every hour, even though there are no data changes. Is this
normal?
BTW, I am using 'PUSH to Subscriber' and both Publisher and Subscriber's
transaction log has same issue.
|||Madan,
something very fishy here - can you run profiler to see what is happening
behind the scenes.
Rgds,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)
|||--from transaction log using log explorer--
Table Insert Delete
Modify
dbo.MSmerge_genhistory 10600 10600 0
dbo.sysmergearticles 0 0
2120
Even thought there were no data changes, MSmerge_genhistory and
sysmergearticles tables were busy doing something.
I also turned off the 'auto update stats' and 'auto create stats', and
results still the same.
|||Paul/Hillary any idea? Please help.
Showing posts with label size. Show all posts
Showing posts with label size. Show all posts
Friday, March 30, 2012
Merge Replication: transaction log growing too fast
Friday, March 23, 2012
Merge replication row size question...
I took the following from BOL...
Replication->Planning for Replication->Evaluating the Replication Env->
Planning for Application Development
"A table used in a merge publication can have a maximum of 246 columns and a
maximum row size of 6,000 bytes"
Is this true? Whats the actual impact on the system when a row size exceeds
6,000 bytes? I have a merge replication setup that has text and image columns
that well exceed the limit stated above, but I have not encountered any
issues. Are the sizes of text and image data columns counted in Microsofts
reference to "maximum row size" -or- do they just count the size of a pointer
in a text column (16 bytes)?
Does this only become a problem when databases are large? My test db is
about 800MB.
I calculated the row size in my db by running select data_length(column_a)
from table_a
Thanks,
Alex C.
my experieince is that only the first 6000 bytes will be logged to the
conflict tables. Note than you can replicate more than 6k using merge, but
if you have any conflict the conflict tables will only record the first 6k
bytes of the conflict.
"acastner" <acastner@.discussions.microsoft.com> wrote in message
news:E5D069BB-74E4-471C-A342-14542F8C8FAE@.microsoft.com...
> I took the following from BOL...
> Replication->Planning for Replication->Evaluating the Replication Env->
> Planning for Application Development
> "A table used in a merge publication can have a maximum of 246 columns and
a
> maximum row size of 6,000 bytes"
> Is this true? Whats the actual impact on the system when a row size
exceeds
> 6,000 bytes? I have a merge replication setup that has text and image
columns
> that well exceed the limit stated above, but I have not encountered any
> issues. Are the sizes of text and image data columns counted in Microsofts
> reference to "maximum row size" -or- do they just count the size of a
pointer
> in a text column (16 bytes)?
> Does this only become a problem when databases are large? My test db is
> about 800MB.
> I calculated the row size in my db by running select data_length(column_a)
> from table_a
> Thanks,
> Alex C.
Replication->Planning for Replication->Evaluating the Replication Env->
Planning for Application Development
"A table used in a merge publication can have a maximum of 246 columns and a
maximum row size of 6,000 bytes"
Is this true? Whats the actual impact on the system when a row size exceeds
6,000 bytes? I have a merge replication setup that has text and image columns
that well exceed the limit stated above, but I have not encountered any
issues. Are the sizes of text and image data columns counted in Microsofts
reference to "maximum row size" -or- do they just count the size of a pointer
in a text column (16 bytes)?
Does this only become a problem when databases are large? My test db is
about 800MB.
I calculated the row size in my db by running select data_length(column_a)
from table_a
Thanks,
Alex C.
my experieince is that only the first 6000 bytes will be logged to the
conflict tables. Note than you can replicate more than 6k using merge, but
if you have any conflict the conflict tables will only record the first 6k
bytes of the conflict.
"acastner" <acastner@.discussions.microsoft.com> wrote in message
news:E5D069BB-74E4-471C-A342-14542F8C8FAE@.microsoft.com...
> I took the following from BOL...
> Replication->Planning for Replication->Evaluating the Replication Env->
> Planning for Application Development
> "A table used in a merge publication can have a maximum of 246 columns and
a
> maximum row size of 6,000 bytes"
> Is this true? Whats the actual impact on the system when a row size
exceeds
> 6,000 bytes? I have a merge replication setup that has text and image
columns
> that well exceed the limit stated above, but I have not encountered any
> issues. Are the sizes of text and image data columns counted in Microsofts
> reference to "maximum row size" -or- do they just count the size of a
pointer
> in a text column (16 bytes)?
> Does this only become a problem when databases are large? My test db is
> about 800MB.
> I calculated the row size in my db by running select data_length(column_a)
> from table_a
> Thanks,
> Alex C.
Labels:
application,
bol,
database,
env-gtplanning,
following,
merge,
microsoft,
mysql,
oracle,
replication,
replication-gtevaluating,
replication-gtplanning,
row,
server,
size,
sql
Wednesday, March 7, 2012
Merge Replication DataBase File Size
Hi,
Currently we are merge replicating more than 20 databases , One server
is at our end other one is far away. we are having our end Server as
Subscriber as other one as Publisher.
During each replication first we set up the Publisher at other end and after
the snapshot is over we truncate the log file and then take the backup of
Publisher database and ZIP the backup file and download to our end(Subsciber)
through FTP.
But it takes a Long time to download is there is any other way to reduce the
file size, what is the best way to handle this.
Please give me a solution as soon as Possible.
Thanks,
Herbert
This is probably the best way to do it. You can also have a look at the copy
subscription method if your database is less than 2 Gigs.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Herbert" <Herbert@.discussions.microsoft.com> wrote in message
news:7CBAD562-2C10-4A9C-AB3D-3B634F72B89F@.microsoft.com...
> Hi,
> Currently we are merge replicating more than 20 databases , One server
> is at our end other one is far away. we are having our end Server as
> Subscriber as other one as Publisher.
> During each replication first we set up the Publisher at other end and
after
> the snapshot is over we truncate the log file and then take the backup of
> Publisher database and ZIP the backup file and download to our
end(Subsciber)
> through FTP.
> But it takes a Long time to download is there is any other way to reduce
the
> file size, what is the best way to handle this.
> Please give me a solution as soon as Possible.
> Thanks,
> Herbert
Currently we are merge replicating more than 20 databases , One server
is at our end other one is far away. we are having our end Server as
Subscriber as other one as Publisher.
During each replication first we set up the Publisher at other end and after
the snapshot is over we truncate the log file and then take the backup of
Publisher database and ZIP the backup file and download to our end(Subsciber)
through FTP.
But it takes a Long time to download is there is any other way to reduce the
file size, what is the best way to handle this.
Please give me a solution as soon as Possible.
Thanks,
Herbert
This is probably the best way to do it. You can also have a look at the copy
subscription method if your database is less than 2 Gigs.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Herbert" <Herbert@.discussions.microsoft.com> wrote in message
news:7CBAD562-2C10-4A9C-AB3D-3B634F72B89F@.microsoft.com...
> Hi,
> Currently we are merge replicating more than 20 databases , One server
> is at our end other one is far away. we are having our end Server as
> Subscriber as other one as Publisher.
> During each replication first we set up the Publisher at other end and
after
> the snapshot is over we truncate the log file and then take the backup of
> Publisher database and ZIP the backup file and download to our
end(Subsciber)
> through FTP.
> But it takes a Long time to download is there is any other way to reduce
the
> file size, what is the best way to handle this.
> Please give me a solution as soon as Possible.
> Thanks,
> Herbert
Subscribe to:
Posts (Atom)