Question

which is better 500 tables with 50 entries, or 1 table with 25,000 records?

InnoDB, MySQLi

Very bad if I have 500 tables for recording? or nothing to worry about?

Table1[id,caption,spec,desc]
Table2[id,caption,spec,desc]
Table...[id,caption,spec,desc]
Table499[id,caption,spec,desc]
Was it helpful?

Solution

25,000 records is easy for mysql to handle, especially if it's properly indexed.

500 of the same table is likely going to be a headache to manage.

If you have to go with the 500 table solution, you could consider going MyISAM and putting a merge table over it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top