Vijay Nathani
Posts: 29
Nickname: vijaynath
Registered: Jan, 2006
|
|
Re: Database design problem
|
Posted: May 3, 2006 1:34 AM
|
|
Here are my answers:
> 1) does the database size increases as you insert new rows > with many null values? I mean what is the most influencing > factor in the database size, is it the number of rows or > the number of non null-values inserted? Yes. The database size will increase as you add new rows, even if the rows contains nulls. Both the non-null values and number of rows influence the database size.
> > 2) Is it a good idea to allow the user to add new columns > to my database table? It is a bad idea. It indicates database has probably not been designed correctly. Users should add more rows to exisiting tables. They must not create new tables or modify existing tables. Then, it is good database design.
Vijay Nathani, www.geocities.com/vijay_nathani.
|
|