문제

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]
도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top