Monday, September 24, 2012

MySQL: Large VARCHAR vs. TEXT?




http://stackoverflow.com/questions/2023481/mysql-large-varchar-vs-text


TEXT and BLOB is stored off the table with the table just having a pointer to the location of the actual storage.
VARCHAR is stored inline with the table. VARCHAR is faster when the size is reasonable, the tradeoff of which would be faster depends upon your data and your hardware, you'd want to benchmark a realworld scenario with your data.






No comments:

Post a Comment