I have a table with about 100 attributes, with id as the primary key and all the other attributes are related to the id. Out of these 100 attributes, the application needs about 15 attributes most of the time. And the mostly used select query will have about 20 to 50 rows in the result. The table will be holding more than100000 rows in it.
I am only worried about the select query. So to improve the performance, I decided to split the table into two tables with id in both the tables as the primary key, with the mostly used 15 attributes in one table and other 85 attributes in the other table. Do you think it is a good way of DB design or should the entire 100 attributes remain in a single table?
2006-12-21
09:28:57
·
7 answers
·
asked by
baadshah
1
in
Computers & Internet
➔ Programming & Design