Viewing 15 posts - 38,551 through 38,565 (of 49,552 total)
Personally, if it were me, I'd create indexes to support the two or three most run queries, and then later re-evaluate to see if more were needed.
My standard technique:
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
June 9, 2009 at 11:08 am
jcrawf02 (6/9/2009)
GilaMonster (6/9/2009)
Chances are here that I wouldn't find anything.And yet you'd find you. Maybe you should reconsider that?
Last interview I did was just over a year ago. Don'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
June 9, 2009 at 10:35 am
Drop the angle brackets. I meant replace <Format code> with the format code. Angle brackets designates a placeholder. something to be replaced with an actual value.
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
June 9, 2009 at 10:33 am
I'm getting them anything from 1 hour to 2 days late. Got a notification this morning for a post made on Sunday.
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
June 9, 2009 at 9:51 am
Steve Jones - Editor (6/9/2009)
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
June 9, 2009 at 9:46 am
GSquared (6/9/2009)
Besides, it's necessary, since the indexes point to actual disk locations, and having them point to incorrect sectors isn't a good thing.
?????
As far as I'm aware, nothing within a...
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
June 9, 2009 at 9:40 am
Just one additional point. Not all SQL usergroups are PASS chapters (mine isn't yet). So if there isn't a PASS chapter in the area, ask around and see if there'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
June 9, 2009 at 9:36 am
fbonneville (6/9/2009)
But if you rebuild your indexes after shrinking the data files, won't this force the data files to grow again during the rebuild essentially negating all of your work?
It...
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
June 9, 2009 at 9:33 am
GSquared (6/9/2009)
Indexes need to be rebuilt after physical defragmentation, per Microsoft.
Ref please?
I can't see why. Index fragmentation is about the order of pages in the data file, shouldn't be affected...
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
June 9, 2009 at 9:30 am
dallas13 (6/9/2009)
sql will create 100 different...
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
June 9, 2009 at 9:18 am
No, no and no.
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
June 9, 2009 at 9:17 am
Tom Brown (6/9/2009)
I may be totally wrong or this could be too simplistic, but thats what I understood from the Wiki article and various other researching.
That's pretty much...
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
June 9, 2009 at 7:27 am
Please post the query, table definitions, index definitions, function definitions and the execution plan (saved as a .sqlplan file, zipped and attached)
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
June 9, 2009 at 5:28 am
Look up BACKUP DATABASE and RESTORE DATABASE in Books Online (the SQL help file). There's a good amount of info there.
Backups are online operations, nothing to worry about 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
June 9, 2009 at 5:27 am
There is. Calculated persisted columns can be indexed. Full details in Books Online.
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
June 9, 2009 at 5:14 am
Viewing 15 posts - 38,551 through 38,565 (of 49,552 total)