Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Mapping Database File Objects and Fragmentation


Mapping Database File Objects and Fragmentation

Author
Message
ckempste
ckempste
SSC Eights!
SSC Eights! (885 reputation)SSC Eights! (885 reputation)SSC Eights! (885 reputation)SSC Eights! (885 reputation)SSC Eights! (885 reputation)SSC Eights! (885 reputation)SSC Eights! (885 reputation)SSC Eights! (885 reputation)

Group: General Forum Members
Points: 885 Visits: 1
Comments posted to this topic are about the content posted at http://www.sqlservercentral.com/columnists/ckempster/mappingdatabasefileobjectsandfragmentation.asp


Chris Kempster
www.chriskempster.com
Author of "SQL Server Backup, Recovery & Troubleshooting"
Author of "SQL Server 2k for the Oracle DBA"
katesl
katesl
SSC Journeyman
SSC Journeyman (79 reputation)SSC Journeyman (79 reputation)SSC Journeyman (79 reputation)SSC Journeyman (79 reputation)SSC Journeyman (79 reputation)SSC Journeyman (79 reputation)SSC Journeyman (79 reputation)SSC Journeyman (79 reputation)

Group: General Forum Members
Points: 79 Visits: 473
"...interesting maps for the DBA to ponder on heavy OLTP database schemas..." There is a lot of work here, but what is the point? I'm a DBA who prefers to know as little as I need to know about bits and bytes, so I can concentrate on best modeling of business processes to database design. As the author states at the beginning of the article, some would argue that this look under the covers is not necessary. Meanwhile, is there garbage/redundant data in these tables that are moving around the disk space? Do the owners of the data understand all they have out there? Is there some data migrated from a legacy system that no user ever queries, that could be archived and deleted from the active database? Do you have a data dictionary and are you keeping it current? Are you more interested in the DBMS than the databases? Do you want to work for Microsoft on the SQL Server development team?

_________________
"Look, those sheep have been shorn."
data analyst replies, "On the sides that we can see.."
ckempste
ckempste
SSC Eights!
SSC Eights! (885 reputation)SSC Eights! (885 reputation)SSC Eights! (885 reputation)SSC Eights! (885 reputation)SSC Eights! (885 reputation)SSC Eights! (885 reputation)SSC Eights! (885 reputation)SSC Eights! (885 reputation)

Group: General Forum Members
Points: 885 Visits: 1
Hi there

Good point actually! Smile I was more interested in the underlying architecture of SQL Server purely from a "i wonder" point of view initially. I also like to match up the hearsay that sets bantered around the internet re SQL Server in relation to object storage, show contig, read-ahead ops, shrinking etc, so the mapper was a way to seeing what really happens.

As I also do oracle work, the tool actually makes sence in this space, so it was a good learning experience once again in SQL Server.

Cheers

Ck









Chris Kempster
www.chriskempster.com
Author of "SQL Server 2k for the Oracle DBA"


Chris Kempster
www.chriskempster.com
Author of "SQL Server Backup, Recovery & Troubleshooting"
Author of "SQL Server 2k for the Oracle DBA"
Jonr
Jonr
SSC-Enthusiastic
SSC-Enthusiastic (148 reputation)SSC-Enthusiastic (148 reputation)SSC-Enthusiastic (148 reputation)SSC-Enthusiastic (148 reputation)SSC-Enthusiastic (148 reputation)SSC-Enthusiastic (148 reputation)SSC-Enthusiastic (148 reputation)SSC-Enthusiastic (148 reputation)

Group: General Forum Members
Points: 148 Visits: 65
Chris,
I know there's a couple of products on the market that already do this sort of thing (can't remember the names off the top of my head, I know one of them's from Australia). Very interesting article though, it's certainly given me some useful insights into the inner workings of the SQL Server storage mechanisms. Not enough info out there like this for those of us who want to know these sort of intricacies - keep up the good work Smile

Jon Reade

Edited by - jonreade on 10/16/2003 01:56:13 AM


Jon
Andy Warren
Andy Warren
SSCertifiable
SSCertifiable (7.2K reputation)SSCertifiable (7.2K reputation)SSCertifiable (7.2K reputation)SSCertifiable (7.2K reputation)SSCertifiable (7.2K reputation)SSCertifiable (7.2K reputation)SSCertifiable (7.2K reputation)SSCertifiable (7.2K reputation)

Group: Moderators
Points: 7187 Visits: 2679
I tend to avoid bits and bytes myself, but a graphical view of space used would be a helpful tool. Nice write up Chris - good to have some variety!

Andy
http://www.sqlservercentral.com/columnists/awarren/

Andy
SQLAndy - My Blog!
Connect with me on LinkedIn
Follow me on Twitter
Steve Jones
Steve Jones
SSC-Dedicated
SSC-Dedicated (35K reputation)SSC-Dedicated (35K reputation)SSC-Dedicated (35K reputation)SSC-Dedicated (35K reputation)SSC-Dedicated (35K reputation)SSC-Dedicated (35K reputation)SSC-Dedicated (35K reputation)SSC-Dedicated (35K reputation)

Group: Administrators
Points: 35984 Visits: 18728
Ditto the comment that I'm not sure this really matters to me, but it is interesting to see how SQL deal with space.

I'd be curious to see this graphically, but I'm not sure I have time to actually analyze the issues. Might help identify fragmentation more easily.

Steve Jones
sjones@sqlservercentral.com
http://www.sqlservercentral.com/columnists/sjones
The Best of SQL Server Central.com 2002 - http://www.sqlservercentral.com/bestof/
www.dkranch.net

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
David.Poole
David.Poole
Hall of Fame
Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)

Group: General Forum Members
Points: 3658 Visits: 3111
I like the idea of this tool.

I tend to do a DBCC DBREINDEX on a regular basis, which is probably a bit OTT.

The only time I looked at a DBCC ShowContig was 5 years ago on the SQL 6.5 course and wouldn't know how to interpret it now. I suspect I should look at it more regularly but I tend to DBCC DBREINDEX quite frequently.

LinkedIn Profile

Newbie on www.simple-talk.com
mysqlaccout
mysqlaccout
Forum Newbie
Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: General Forum Members
Points: 6 Visits: 1
Great article. I'm one of those who like to know about the bits and bytes. The only things I would add, is probably doing a full offline De-frag (i.e unload all tables, load each table back, one by one) now one can afford this now, but if we're at it, I would do that to show how clean the database would look.
Anyway, great work, impressive.



Keith Henry
Keith Henry
Old Hand
Old Hand (331 reputation)Old Hand (331 reputation)Old Hand (331 reputation)Old Hand (331 reputation)Old Hand (331 reputation)Old Hand (331 reputation)Old Hand (331 reputation)Old Hand (331 reputation)

Group: General Forum Members
Points: 331 Visits: 6
This would be a very useful tool. We run MSSQL pretty much to its' limit and out there the bits and byte of the storage really do matter.

I find the Oracle vs SQL debate is a bit like Linux vs Windows. I used to use Linux when a I messed about with computers as a hobby and didn't mind the huge amount of micro-management I had to do. Now I work with computers I just want to get the job done and am prepared to put up with a slightly more powerful box required to run that damn paperclip! At the bleeding edge they all turn back into micro-management jobs and it's good to know where to get at that info in the MS, although most of us would prefer to never have to.

Keith Henry
DBA/Developer/BI Manager




Keith Henry


According to everyone I know I "do something with computers?" for a living, so there you go.
Keith Henry
Keith Henry
Old Hand
Old Hand (331 reputation)Old Hand (331 reputation)Old Hand (331 reputation)Old Hand (331 reputation)Old Hand (331 reputation)Old Hand (331 reputation)Old Hand (331 reputation)Old Hand (331 reputation)

Group: General Forum Members
Points: 331 Visits: 6
PS: and one more thing. Who is going to write this tool then? Any offers?

Keith Henry
DBA/Developer/BI Manager




Keith Henry


According to everyone I know I "do something with computers?" for a living, so there you go.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search