Solved

How to learn new data model / database application efficiently?

Posted on 2016-09-19
4
14 Views
Last Modified: 2016-11-03
Is there a term for what I clumsily call "learning the database?"   I am not talking about learning how to develop or use SQL Server, I mean how to learn how  particular database application works, what code does what, what tables serve what function.

IE I get handed a ginormous SQL database application chock full of objects with 0 documentation (what a shocker) and told "get familiar with this and then we will meet with stakeholders sometime yesterday"

Is there a word for this?  Analysis seems to vague.  It's more like an autopsy, or "getting to know you".  Are there apps that help?

I've come up with some scripts that help.  There are 2 DMVs
sys.dm_sql_referencing_entities
sys.dm_sql_referenced_entities
the first shows all objects that touch an object, the other all the objects an object touches, which give me a good idea of what code does what.  

Also the DMVs that read the Execution plan data can reveal what code is used frequently.  

Armed with all this I can get a general sense of what tables and code are core and peripheral.
0
Comment
Question by:Hec Ramsey
4 Comments
 
LVL 65

Assisted Solution

by:Jim Horn
Jim Horn earned 250 total points
ID: 41805008
>Is there a word for this?
Yes, it's called 'job security' as competent developers work a project to support another lesser-competent developers undocumented crapware.

Perhaps a term you can use is 'technical debt', which loosely means that existing code is so hard to work with, or in your case learn in the first place, that future project and support costs are a lot higher then they otherwise would be if the code was coded correctly and well documented.
0
 

Author Comment

by:Hec Ramsey
ID: 41805194
I'm a contractor so I need to learn new DBs all the time, and my methods feel time consuming and inefficient, hunt and peck. There must be a better way, I imagine this is common in todays "flexible" workforce.

 Is there a best practice for this? And what is this task called?

Even well developed app has can have a large number of pieces and sprawl.  Years of revisions by numerous designers can also confuse things.  

In my experience even the poorly designed or developed stuff, if I dig around I find the developers where doing the best they could given the situation.  I've had a number of experiences where I was handed something by "Bob" that was a mess, and when I asked Bob I learned he was handed a mess by Mary, who was handed a ridiculous deadline by Frank, who was under the gun because of Susan, who had a regulatory date changed abruptly.
0
 
LVL 45

Accepted Solution

by:
Vitor Montalvão earned 250 total points
ID: 41806038
Unfortunally this happens a lot. Somebody spent years in a company doing stuffs practically alone and without documenting nothing. Then during a beautiful day he says "I quit" and gone for good. What left? A lot of work for his replacement. And everything to be done yesterday.

I'm afraid there's nothing much to do besides doing what you're doing now. Maybe a Case tool will help you with the database model. Here are a couple of them:
Toad Data Modeler
Erwin

Good luck with your project.
Cheers
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now