|
|
|
|
|
by dingaling
3303 days ago
|
|
I encountered this in a personal project in the past week. The ideal, normalized schema would be slow and awkward for manual insertions on a daily basis, which I felt would deter me and hence undermine the project. The not-quite-normalized version would be much quicker and more intuitive for me to keep up-to-date, so I talked myself into it. In the future I can always write a stored proc to process the less-normalized data into idealized tables, and use the original tables solely for importing the data. Despite that reassurance it was remarkably difficult to accept that doing the 'wrong thing' programmatically was the 'right thing' in a project scope. |
|
Many of the current databases like Postgresql let you create views. And the performance even on a smaller machine is quite good. So if you stick to a normalized schema and build views, it will pay dividends later on.