Viewing 15 posts - 17,491 through 17,505 (of 49,552 total)
Restore MSDB from backup.
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
July 21, 2012 at 4:41 am
SQL_Surfer (7/21/2012)
20416424 KB10244200 KB9928824...
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
July 21, 2012 at 4:32 am
SQL_Surfer (7/20/2012)
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
July 21, 2012 at 4:28 am
Ok, so more complex than tht
Still, the easiest way to see when checkDB last ran cleanly is to look at the dbi_dbccLastKnownGood, which tells you exactly that, when checkDB last...
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
July 20, 2012 at 4:41 pm
There's one very fast way to resolve performance problems - hire a specialist to do it for you. 🙂
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
July 20, 2012 at 4:34 pm
Nested transactions are a lie. They don't really exist.
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
July 20, 2012 at 4:27 pm
devullapallymanidhar (7/20/2012)
(OR)
and what values do we need to go though if we use DMV's...
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
July 20, 2012 at 4:22 pm
Check Books Online, it gives you the related DMVs and all details on what the column values show and mean.
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
July 20, 2012 at 4:20 pm
opc.three (7/20/2012)
If dbi_dbccFlags = 1 then it has never run clean.
That just tells you whether data purity checks have ever been run and return clean, not if CheckDB has. If...
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
July 20, 2012 at 4:18 pm
jerrycutshaw (7/20/2012)
- Is it odd that of the 4 tables he is using dynamic SQL against it would report an insert error on the 3rd only?
He's already got permissions...
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
July 20, 2012 at 4:14 pm
That you do some investigation into whatever that was to find out why it is using a few GB of transaction log space.
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
July 20, 2012 at 1:55 pm
Sounds like the log's just not large enough for the activity on the DB. Do some monitoring, see how much log space the various transactions use
sys.dm_tran_database_transactions
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
July 20, 2012 at 1:25 pm
Dynamic SQL breaks the ownership chain. The user executing the proc requires permissions on the base tables as well.
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
July 20, 2012 at 11:50 am
Chrissy321 (7/20/2012)
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
July 20, 2012 at 10:58 am
You can, if you want the risk of running a pre-release (beta testing stage essentially) on your production server.
Basically, if you want to do MS's testing on your production server,...
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
July 20, 2012 at 10:55 am
Viewing 15 posts - 17,491 through 17,505 (of 49,552 total)