log_reuse_wait_desc = replication, can't shrink log files.

Hello Experts,

My ERP production database went down over the weekend. The cause is because of the drive that holds my DB is out of space.

After investigating, I found that my log files have grown from 600mb a piece to 100 gigs each (qty 2).

I have followed all the correct steps to shrink my database but i cannot.

after some further investigation i found out that the cause is because

'log_reuse_wait_desc = replication,'

WE HAVE NO REPLICATION on this server.

One of the steps i read i should take is to enable a replication publication and then delete it, (http://www.sqlservercentral.com/Forums/Topic695034-357-1.aspx)

but, the problem is that I cannot create a publication, when i try, i get an error message saying

"Invalid object name: dbo.syspublications"
FutureDBA-Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Surendra NathConnect With a Mentor Technology LeadCommented:
try this

USE [Database_Name]
GO
EXEC sp_repldone @xactid = NULL, @xact_segno = NULL, @numtrans = 0,@time = 0, @reset = 1
SELECT name,recovery_model_desc,log_reuse_wait_desc FROM SYS.DATABASES

Open in new window


http://subhrosaha.wordpress.com/2011/12/17/sql-server-log_reuse_wait_desc-set-to-replication/
0
 
FutureDBA-Author Commented:
My results are
master	SIMPLE	ACTIVE_TRANSACTION
tempdb	        SIMPLE	NOTHING
model	        FULL	        LOG_BACKUP
msdb	        SIMPLE	NOTHING
ERMS_CU3	SIMPLE	REPLICATION
ERMS_TST	        SIMPLE	NOTHING
EXPLink	        SIMPLE	NOTHING

Open in new window

0
 
FutureDBA-Author Commented:
You my friend, have just relieved the most pressure and stress I've had in the last year.

I was going to have hundreds of very unhappy end users in the morning.
0
 
Surendra NathTechnology LeadCommented:
I hope you mean very happy end users (not unhappy end users)
0
All Courses

From novice to tech pro — start learning today.