Topic: which is faster, 'text' or 'varchar'
I have a 2 tables in my mod with various fields in them:
table: links_category
Field Type Null Default Links to Comments MIME
id int(11) no
category text yes NULL
column int(1) yes NULL
height int(11) yes NULL
image text No
order text No
`category` contains a category name.
`image` contains a name of an image, star.png
`order` contains something link `links` DESC.
table: links_links
Field Type Null Default Links to Comments MIME
id int(11) No
name text Yes NULL
url text Yes NULL
title_tag text No
category int(11) Yes NULL
target text Yes NULL
image text No
show int(1) Yes NULL
hits int(100) No
added int(10) No
`name` contains the name of the link
`url` contains the url of a site
`target` contains either _blank or _self
I was wondering, which is faster!
is it best to leave it all as text or is it better to go with varchar.
anyone has any thoughts about it.