Which of the following two designs is best in terms of speed of access:
table 1: 1000 rows and 50 cols
Or
table 2: 50 000 rows (1000 * 50) and 4 cols
Thanks once again
whatever db you are using, the two that i believe are the best are MySQL and postgreSQL will laugh at either of those scenarios, if that is all you are expecting and w/o knowing exactly what you are doing, I would stick with number 1
neither those tables are stupid big
and a google search turned this up in the first position: http://www.phpbuilder.com/columns/barry20000731.php3
and here's an interesting one too http://www.martinfowler.com/articles/evodb.html