|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Monday, February 27, 2012 8:09 AM
Points: 290,
Visits: 220
|
|
|
|
|
|
UDP Broadcaster
      
Group: General Forum Members
Last Login: Wednesday, January 02, 2013 12:15 PM
Points: 1,443,
Visits: 711
|
|
Good article, lots of useful info. I think this beats going in and poking around blindly!
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Today @ 12:15 PM
Points: 1,303,
Visits: 1,664
|
|
| What an excellent idea! I used to just poke around blind as well. Trying that on a database where the tables all had 4 character names (which were abbreviations from Russian) and the fields had 8 character names (again, from Russian), it's hard to find stuff. Something like this would have helped a lot. I may use these in the future since I happen to set up data transfers from different systems.
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Monday, February 27, 2012 8:09 AM
Points: 290,
Visits: 220
|
|
| Hi, well thanks :) I also tried to make it more "out of the box thing", so you'd just call one procedure and get some results. But each db is unique, so when you are exploring it, some parameters do have to be adjusted, if only to loose matching of table or column names etc.
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Today @ 12:36 PM
Points: 1,243,
Visits: 1,777
|
|
First thanks for the scripts, they will surely help me on some occasions. (the one that get the dependencies instead of viewing them in the tiny box in the enterprise manager)
What I would like to bring is when testing them out I used a database that I was very comfortable with and found that the information that I gathered was not very helpful for someone who would need to get a quick overview of that database type in particular.
Not because the scripts does not work well but because the database work differently than the intended proposed solution and this is a scenario that could happen to others as well. I would like to propose you an additional approach.
I believe, when the database has run a bit, is to get the statistics on index scan / seek etc as the primary way to get information about usefulness of a table instead of the table size / rows.
In my case the most worthy tables only contains a few tenth of rows and looking at them from the index scan / seek reveal that information.
What do you think of this additional approach?
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Monday, February 27, 2012 8:09 AM
Points: 290,
Visits: 220
|
|
| Thanks for the suggestion, well worth of consideration! I guess I was so desperate looking at some databases I got recently, with nearly half of all tables empty or with max 1 row (really), so I focused on that metric. Combining few methods or trying various approaches is generally the way to go, I suppose.
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Today @ 12:36 PM
Points: 1,243,
Visits: 1,777
|
|
Yes I understand your points, there's not a solution that will fit for every problem.
If I could have time I would expand your queries to add a weighting mechanism for some criteria (index, size, row count, update date etc) and let the dba choose how she/he what to configure it with default value to run out of the box.
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Wednesday, August 17, 2011 7:09 AM
Points: 869,
Visits: 963
|
|
| Good article! There's nothing worse than trying to learn a database that has inherent encryption. :)
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, April 09, 2009 8:28 AM
Points: 2,
Visits: 13
|
|
| Hello. It must be noted that to perform the coding as presented, one must have 'Admin' rights to the database.
|
|
|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 12:07 PM
Points: 60,
Visits: 257
|
|
Excellent article!  Very impressive topic and easily readable!
I look forward to your future articles!
Paul DB
|
|
|
|