Forum Moderators: coopster
I'm just wondering about the best strategies when dealing with tables that have millions of entries.
Can php/sql cope easily enough with a single table of millions of entries or is best to create a series of tables and what are the best ways to go around this problem?
Is there a fixed number of rows possible, and at what point would searching in such a large table for a single row or numbers of rows become problematic if at all?
Thanks
[dev.mysql.com...]
Partitioning takes this notion a step further, by allowing you to distribute portions of individual tables across a file system according to rules which you can set largely as needed. In effect, different portions of a table are stored as separate tables in different locations.
Some queries can be greatly optimized in virtue of the fact that data satisfying a given WHERE clause can be stored only on one or more partitions, thereby excluding any remaining partitions from the search. Because partitions can be altered after a partitioned table has been created, you can reorganize your data to enhance frequent queries that may not have been so when the partitioning scheme was first set up. This capability, sometimes referred to as partition pruning, was implemented in MySQL 5.1.6. For more information, see Section 18.4, “Partition Pruning”.