Hey, you're always asking me where I find stuff...
Tuesday, September 14, 2004
  Database spaghetti
Aha - it's been a while since the last entry, but I have an excuse. Having given up on the prospect of this job providing me with meaningful work, I've been helping out a friend with a couple of tasks (not for pay - just for something to do).

He asked me to look at the database for the software he's been working on - it's a mess. Just looking at it quickly revealed it was un-normalised, was lacking foreign keys (and often primary keys!) and the naming scheme was up the spout. At least 15 of the tables have a primary key called "RecordId"!!!

This all sounds like a lot of nerd-speak, but what it really means is the database is poorly designed and I'm trying to fix it up a bit. I had trouble getting to grips with it at first - the database is the biggest I've ever worked on. So in the end I did the smart thing and printed it out.



54 pages stuck together. Since that photo was taken I was able to ignore quite a few of the tables, so now:



28 pages stuck together when I took that photo. I've got it down to 14 now. Of course, the number of pages is kind of meaningless. But at least it gives an idea of progress.

I'm about to go and print out version 4 and stick it all together. What fun!
 
Comments: Post a Comment


Links to this post:

Create a Link

FrancisFrancis

Links I like, reconstituted for my friends who never know where to look... Come back every couple of days and there should be a few items that can distract you from whatever it is that you're doing.

- Travel With Pandas
- Bone Table
- Tookertime
- Polliweb
- Memepool
- Parrot Care
- Music Thing
- Grab Your Fork
- Stylus Magazine
- Strong Bad
- EastSouthWestNorth

follow me on Twitter
ARCHIVES
March 2004 / April 2004 / May 2004 / June 2004 / July 2004 / August 2004 / September 2004 / October 2004 / December 2004 / January 2005 / February 2005 / March 2005 / May 2005 / June 2005 / July 2005 / August 2005 / September 2005 / October 2005 / November 2005 / December 2005 / January 2006 / February 2006 / March 2006 / April 2006 / May 2006 / June 2006 / July 2006 / August 2006 / September 2006 / October 2006 / November 2006 / December 2006 / January 2007 / March 2007 / April 2007 / May 2007 / June 2007 / July 2007 / August 2007 / October 2007 / November 2007 / December 2007 / January 2008 / February 2008 / March 2008 / April 2008 / May 2008 / June 2008 / August 2008 / September 2008 / October 2008 / December 2008 / April 2009 /


RSS Feed - RSS
Powered by Blogger