Viewing 15 posts - 15,766 through 15,780 (of 49,552 total)
It depends. There are good reasons for each alternative and not enough information to say which is better.
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
November 7, 2012 at 11:52 pm
Include columns will increase the size of nonclustered indexes.
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
November 7, 2012 at 11:50 pm
sqldba_newbie (11/7/2012)
The locks are heldup for longer durations, how do i handle that?
Longer duration than what?
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
November 7, 2012 at 11:49 pm
Please note: 4 year old thread.
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
November 7, 2012 at 11:46 pm
Start by posting the query, the index definitions and the execution plan, so that we can see what's happening.
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
November 7, 2012 at 9:28 am
Lee Crain (11/7/2012)
Log file full, database in read-only, suspect mode,
A full log does not send a database suspect.
If the log file and its disk drive were both full, would the...
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
November 7, 2012 at 9:20 am
What session ids, what wait types?
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
November 7, 2012 at 9:10 am
What is the state of the database? (state_desc in sys.databases)
What happened to cause this?
What errors are there in the error log?
Do you have backups?
Do not detach the DB. Do not...
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
November 7, 2012 at 1:35 am
Lee Crain (11/6/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
November 7, 2012 at 12:00 am
Yup. There are plenty of waits other than lock waits
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
November 6, 2012 at 11:55 pm
GilaMonster (11/6/2012)
Unless you have a really good reason otherwise, just look at the fragmentation of the leaf level of the index.
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
November 6, 2012 at 7:22 pm
You're getting different values because sampled only shows the leaf level, detailed shows all levels and the filters you have do not filter out the non-leaf levels, they only filter...
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
November 6, 2012 at 6:09 pm
Doesn't matter whether you use detailed or sampled, but unless you have a really good reason, just look at the fragmentation of the leaf level.
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
November 6, 2012 at 5:14 pm
So, what do you have so far?
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
November 6, 2012 at 5:01 pm
Unless you have a really good reason otherwise, just look at the fragmentation of the leaf level of the index.
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
November 6, 2012 at 4:56 pm
Viewing 15 posts - 15,766 through 15,780 (of 49,552 total)