dbTalk Databases Forums  

PROCEDURE ANALYSE() says TINYTEXT over VARCHAR(50)

comp.databases.mysql comp.databases.mysql


Discuss PROCEDURE ANALYSE() says TINYTEXT over VARCHAR(50) in the comp.databases.mysql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jason C
 
Posts: n/a

Default PROCEDURE ANALYSE() says TINYTEXT over VARCHAR(50) - 11-13-2011 , 09:58 PM






I have a table with 6 columns, and about 2 million rows.

I've had one of these columns set to VARCHAR(50) for a few years now. When I run PROCEDURE ANALYSE(), though, it recommends that I switch it to TINYTEXT.

Is there a reason why TINYTEXT would be faster? Doesn't TINYTEXT set aside 255 characters by default; and if so, wouldn't that take up more room, causing a marginally slower search?

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.