By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,766 Members | 1,290 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,766 IT Pros & Developers. It's quick & easy.

the Best way to build a 5 million entry database?

P: 1
I am building a database to host about 5 million entries, each of these entries is divided up into different countries.

What is the best way to build and set up the database?

I can think of two ways,

1. Having a separate lookup table for the countries, then having all the entries with a country id and reference it. This would mean all entries are in one table…Would this be slow to run queries etc?

2.The other idea I had was having a different tables for each country so the entries are already in there current country. So each table would be England_entries, france_entries, spain_entries etc and then running queries that way?

Which way would be the best or is there a better way?

Many thanks in advance.
Apr 27 '06 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.