SQLServerCentral Article

Is the Schema Still Needed?

,

Is the Schema Needed?

The notion of a schema has been a part of relational databases for a long time. SQL Server implements this as the owner of the object. But is this a good idea? Have you ever questioned this?

I'm not sure it is. Our own Andy Warren wrote about Objects not owned by DBO, something which is only possible because of the schema. To me, having a schema is a place where one can easily get into trouble. Easily confuse themselves and others when there are two "employee" tables. When a DBA sees a different result than someone else because the schema's are different. When rights and permissions become overly complex because of the possible permutations.

I like to keep things simple. Use the minimum needed and apply it as a standard. While I can't claim to have worked on the GM payroll database or designed the database Boeing uses to build airplanes, I suspect that there would not be a substantial reduction in the performance or usability of their databases if the schema were removed.

Agree? Let me know, it's not likely to get removed, but Microsoft will see what we think. Disagree? give me a reason, hammer me, tell me why the schema hasn't outlived it's usefulness.

Steve Jones

©dkRanch.net May 2003


Return to Steve Jones Home

Rate

You rated this post out of 5. Change rating

Share

Share

Rate

You rated this post out of 5. Change rating