Dawie Posted October 8, 2003 Share Posted October 8, 2003 Hopefully my last database/table design question. Which of the following two designs is best in terms of speed of access: table 1: 1000 rows and 50 fields (cols) Or table 2: 50 000 rows (1000 * 50) and 4 cols Thanks once again Quote Link to comment Share on other sites More sharing options...
DylanBlitz Posted October 8, 2003 Share Posted October 8, 2003 I would think that the first would be faster. Less rows to search through Quote Link to comment Share on other sites More sharing options...
davewatts Posted October 21, 2003 Share Posted October 21, 2003 The first table with less rows is the best option. However, it is important to have indexes applied to the rows that you intend to join or search on. It is possible to retrieve data from a table of 5,000,000 records that is index correctly faster than a table with 500,000 that isn\'t indexed correctly. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.