Partition of tables in MySQL

Posted by Joel on Stack Overflow See other posts from Stack Overflow or by Joel
Published on 2010-12-21T10:50:52Z Indexed on 2010/12/21 10:54 UTC
Read the original article Hit count: 327

Filed under:

Hello,

I have read that in a case where a table has many columns, but most of the time only one of them is used (say a title column in a forum post), a way to increase performance would be a partition to two tables, where one will contain only the title and the other one will contain the other columns (such as the forum post body).

However, in case I use

select ForumTitle from Forum;

won't that be good enough to prevent the load of all columns (such as the forum post's body) to the memory, and eliminate the need of partition?

Thanks,

Joel

© Stack Overflow or respective owner

Related posts about mysql