Tag Archives: database design

The Master of the Schema

“The database … should be the master of the schema”. It’s not often I see an application developer talk about the importance of the database, or at least that the database (and data) are very important to the success of … Continue reading

Posted in Editorial | Tagged , | Leave a comment

Who Likes NULL?

The title says it all: who Likes NULL values in their tables? I have tended to allow NULLs in quite a few places in my design, often because I view the world as messy and incomplete. I also find that … Continue reading

Posted in Editorial | Tagged | 2 Comments

Where’s the schema?

Across the last few years, I’ve read many articles and listened to quite a few talks that discuss the advantages of NoSQL databases. I’ll admit that I’m often skeptical of the advantages of other datastores overcoming the disadvantages with a … Continue reading

Posted in Editorial | Tagged | Leave a comment

Singular or Plural

There are all sorts of interesting debates that developers will have about programming. One of those I’ve written about in the past is Spaces v Tabs. There’s a lot of discussion about that one, and certainly no share of strong opinions. … Continue reading

Posted in Editorial | Tagged ,

The Relational Database is the Default

It seems that I regularly meet people in the SQL community that are asked about moving their datastore to a NoSQL type of database. In a mature system, that might be a conversation worth having, especially if there are issues … Continue reading

Posted in Editorial | Tagged ,

A Database Design Test

I was watching a presentation recently on database design and the speaker talked about how he hires developers. These are full stack developers, for whom the database is a portion of their responsibility. One of the tasks he gives them … Continue reading

Posted in Editorial | Tagged , | 6 Comments

Null Defaults

One of the things that becomes important in a distributed, team environment is the interface that you present to other systems. In a Devops environment, we really need to have an API for every system, including the database. This means a … Continue reading

Posted in Editorial | Tagged | 1 Comment

Making Complex Table Changes

Tables are a problem for anyone trying to grow and modify software. Views, stored procedures, functions, all of these objects are easy to modify, but when we start to deal with actual data, where we need to maintain state, we … Continue reading

Posted in Editorial | Tagged

Email or Username

Quite a few of us will work with application databases where we need to identify a particular user for working with the various parts of the application. I’m not talking about the authentication and verification of identity, but just having … Continue reading

Posted in Editorial | Tagged | 2 Comments

Have You Designed a Database from Scratch?

One of the things that I try to regularly promote is the #SQLNewBlogger project from Ed Leighton-Dick (and #SQLNewBlogger hashtag on Twitter). In keep a column open scanning for the tag and try to respond to those that post. I … Continue reading

Posted in Editorial | Tagged , | 2 Comments