Finaly I finished the Database Schema.
I tried to achieve 3N to all relations (What is 3N? See Wikipedia).
Especially for the Taging schema I choose this approach, called “toxi”, because it is the most scalable and reliable I found. It might not be the fastest way to do this, but in future if there is a need for there could be a hybrid between toxi and the Mysqlicious approach with fulltext which is also used by del.icio.us. A Hybrid in that manner would start both strategies as individual queries and then uses first comes first serves.
To visualize the Database I installed SQL Designer on the sample Platform. You can find it here.
With this tool you can see the current DB Design and even Modify it. So if you have any proposals for improving the database design or find some major flaws you can post it as a comment here or just draw a picture with the tool
If there are some questions for using the tool visit the Website mentioned above or just write me an email or comment.
Please save it under a new keyword if you modify it so I can see all the different proposals. If some of you just don’t care and overwrite it anyways, you others dont fear:
If there are some problems (like someone deleted or overwrote the Schema) or the Database has changed but you still want to see or improve the Database Design, here is a XML file with which you can recreate this version. Just click Import from XML in the SQL Designer and paste the XML data.
Don’t worry no matter what you do you won’t affect the real database in any way.
I also made an Snapshot for archiving reasons.
So long…
- – -
In case you wondered:
FK = Foreign Key
PK = Primary Key
