Viewing 15 posts - 24,331 through 24,345 (of 49,552 total)
GilaMonster (8/8/2011)
Have you checked why the log is full? (if you read my article I assume you've already done all that)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 2:51 pm
Actually the first thing you need to do is identify what's on that drive.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 2:07 pm
Lowell (8/8/2011)
they probably have gigabite sized log files...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 1:33 pm
GSquared (8/8/2011)
Grant Fritchey (8/8/2011)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 12:54 pm
Using the DMVs is quick, but it's not necessarily going to show you the complete picture due to queries being aged from cache, cache being cleared and queries that aren't...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 12:36 pm
Stefan Krzywicki (8/8/2011)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 12:21 pm
@SQLFRNDZ (8/8/2011)
Does shriniking breaks up log chain ?
No.
even if he is not changing the recovery model.
ALTER DATABASE fv_prepaid_ca_test SET RECOVERY SIMPLE WITH NO_WAIT
DBCC SHRINKFILE(Aprakash_CoreAuth_log, 1,TRUNCATEONLY)
ALTER DATABASE fv_prepaid_ca_test...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 12:18 pm
Ask Grant about GoDaddy, and take a couple steps back.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 10:43 am
Just hope that the table isn't big, because that cannot use index seeks because of the convert. You're building a potential performance problem.
btw, you have a convert to varchar without...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 10:31 am
p.s. Take a full backup first and store it somewhere. Just incase someone does want those records later.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 10:13 am
Excellent. In that case...
TRUNCATE TABLE SyncWorkersLog
You can shrink after that, but I wouldn't recommend it. There will be space free in the data file, so the file won't try to...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 10:12 am
p.s. There's no way you can be taking log backups after doing what you posted, unless there was a full backup taken that you didn't mention.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 9:52 am
Have you checked why the log is full? (if you read my article I assume you've already done all that)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 9:51 am
You can't shrink that, as it says it's already at a minimum
Why are you trying to shrink anyway? Why are you breaking your transaction log chain? You've left yourself open...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 9:39 am
And you're absolutely sure you want to remove every single row from that table?
Is that table referenced by any foreign key constraints?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 8, 2011 at 9:09 am
Viewing 15 posts - 24,331 through 24,345 (of 49,552 total)