Tree*Rat escribió:
Been working on a CMS for a few months now and noticed that in phpMyAdmin
it shows that one table in the database (mysql) has bad overhead, so I keep
having to optimize the table.
What causes this to happen so I can get rid of the problem or is it normal?
all the table actually hold is text.
this is the table structure:-
txt_id mediumint(8) UNSIGNED NOT NULL auto_increment,
txt_mod_id mediumint(8) UNSIGNED NOT NULL,
txt_fulltext text,
PRIMARY KEY (txt_id)
any ideas?
The table design itself doesn't say much. Just have a look at your code
and look for common errors: fetching unnecessary data, redundant
queries, filtering by non-indexed columns... Also, MySQL itself offers
several tools to optimize queries: slow queries log, explain plans...
But that's beyond the scope of this group ;-)
--
--
http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web:
http://bits.demogracia.com
-- Mi web de humor al baño María:
http://www.demogracia.com
--