September 19, 2006 at 9:17 am
Hello!
I don't understand something..
I have two DB's that receive the same data.
In the first one, i have data since Aug.05 until today.
It's size is (aprox.)400 MB.
In the second, i have data since Aug.06 until today.
The second DB is being replicated. It's size is (aprox.)1400 MB. The DB at the subscriber has the same size.
WHY this difference if the first DB has much more data??
Thanks
Cláudia
Cláudia Rego
www.footballbesttips.com
September 19, 2006 at 11:19 am
Are u doing Transaction log backup. If not Xaction log backup can keep growing?
Are they any long running xaction cos if u have long running xation then Xaction log keeps growing till u backup and shrink database.
Thanks
Sreejith
September 20, 2006 at 3:10 am
I don't understood what is Xaction...
but, in fact, the data file has a reasonable size (294 MB). but the size of the transaction log is very big (1192 MB). I made the following:
use aveiro_aguas_2_REP
go
DBCC SHRINKFILE (aveiro_aguas_Log, 0)
GO
But the size is still the same!!
What can i do?
How i delete the data in the transaction log?
Thanks
Claudia
Cláudia Rego
www.footballbesttips.com
September 20, 2006 at 4:34 am
SOLVED!!
I use:
BACKUP LOG aveiro_aguas_2_REP
WITH NO_LOG
And then shrink!!
Thanks
Claudia
Cláudia Rego
www.footballbesttips.com
September 20, 2006 at 8:29 am
September 20, 2006 at 10:41 am
A database must be in full recovery mode to use replication (the change is made automaticly when replication is set up). In order to keep your transaction logs from getting huge, back them up on a regular basis (hourly is good).
September 22, 2006 at 4:21 am
that's what i have done. schedule a transaction log backup
Cláudia Rego
www.footballbesttips.com
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply