Groups | Blog | Home
all groups > sql server replication > january 2006 >

sql server replication : Initial syncronization problem


Elena
1/27/2006 1:25:27 PM
Hi,
Transactional log on the subscriber is growing so fast that is running of
disk space. I can't truncate and shrink it. What can be done in this
Elena
1/27/2006 2:26:42 PM
Recovery model is simple, do I really need to change it to full?
TLog should be truncated.

[quoted text, click to view]
Elena
1/27/2006 2:38:37 PM
Unfortunately even in recovery model full, I can't free space
- log is active, all pages are in use.

[quoted text, click to view]
Hilary Cotter
1/27/2006 5:07:27 PM
put it in full recover model, dump the tlog, then shrink it to something
smaller, and put it in bulk copy mode.
--
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

[quoted text, click to view]

Hilary Cotter
1/27/2006 7:54:16 PM
Did you dump it?

--
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

[quoted text, click to view]

Elena
1/28/2006 8:16:26 AM
I got following:
1. no free space left on disk because transaction log size. It became 114 GB.
2. replication agent rollbacked transactions
3. only after it stopped the work I could truncate and shrink the log
4. changed recovery model from simple to bulk logged
5. I started distribution agent again but got the same picture. It seems
that the log will occupy all 200 GB. I do not have space on disk necessary to
finish initial syncronization. What can I do in this situation? Can I avoid
such growth of the log?
Database is 160 GB. It is heavy used almost all the time. I do not have
opportunity to get downtime.

[quoted text, click to view]
Elena
1/28/2006 10:59:26 AM
I know that I need to disable triggers on subscriber. I have no identity
columns. But do I need to delete constraints (FK) on the subscriber?

[quoted text, click to view]
Hilary Cotter
1/28/2006 1:12:48 PM
this database is likely too large to synchronize via the snapshot. Can you
restore a copy of it on the source server, truncate any tables you don't
need, and make sure all identity columns, triggers, and constraints are not
for replication.

--
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

[quoted text, click to view]

Hilary Cotter
1/28/2006 3:04:24 PM
No, you don't need to - just make sure they are marked not for replication.
After you have done this do a no sync subscription. Make sure that no DML is
going on on your publisher between the time you have done your backup and
applied it.

--
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

[quoted text, click to view]

AddThis Social Bookmark Button