473,408 Members | 1,788 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Overhead

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?
Nov 4 '08 #1
4 1924
Tree*Rat schreef:
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?
Yes: comp.databases.mysql

Erwin Moller

--
"There are two ways of constructing a software design: One way is to
make it so simple that there are obviously no deficiencies, and the
other way is to make it so complicated that there are no obvious
deficiencies. The first method is far more difficult."
-- C.A.R. Hoare
Nov 4 '08 #2
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
--
Nov 4 '08 #3
On 4 Nov, 09:07, "Tree*Rat" <tree....@googlemail.comwrote:
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
http://www.google.com/search?q=mysql+overhead
Nov 4 '08 #4
Captain Paralytic <pa**********@yahoo.comwrote in news:41579880-dab6-
41********************@q26g2000prq.googlegroups.co m:
http://www.google.com/search?q=mysql+overhead
thanks, found some good articles that are interesting! goona take so
reading though! lol.
Nov 5 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: f.ruecker | last post by:
Hey Folks, I hope you'll be nice to me and let this post go through even know its mysql and not directly php. But of course my script is php. The problem is, that my Table (1,8 MIO entries/100...
1
by: Garma | last post by:
When define member like "string" type for a class, we can either define it as "char *" or "string." I don't know which one should be better. My concern is that "string" has some "overhead" though...
7
by: Ireneusz SZCZESNIAK | last post by:
I want to sort a vector with the std::sort function. There are two functions: one with two arguments, the other with three arguments. I am using the one with three arguments. I noticed that...
9
by: Agoston Bejo | last post by:
Hello there, I would like to know what overheads there are to think of when using RTTI. I understand that enabling RTTI increases the sizes of the classes, but not the objects themselves. This...
3
by: Bob Rock | last post by:
Hello, this is something I've been asking myself for sometime ... and now I'd like to clarify this point. When should the try block start in a method??? What I mean is, does having all the code...
2
by: Showjumper | last post by:
By turning Option Strict on, is there extra overhead? For example w/o it on the following doesnt get flagged: validxhtml.Attributes.Add("height", 22) but with it on the 22 is underlined and the...
2
by: mark | last post by:
Hi, I am in the process of developing a small application that sits in the task bar and at a set interval polls an IIS web server for information. The process involves the client sending anything...
2
by: mmcgarry.work | last post by:
Hi, I would like to follow Stroustrup's advice of separating an object interface (abstract class) from an object implementation (concrete class), See Section 15.2.5 in Stroustrup 3rd Edition. ...
36
by: Peter Olcott | last post by:
So far the only way that I found to do this was by making a single global instance of the container class and providing access to the contained class, through this single global instance. Are...
5
ifedi
by: ifedi | last post by:
Hey guys, I've a mysql database with about 112 tables and views. All of the tables are INNODB. I manage this with phpmyadmin, and stuff have been pretty much fine over the last one and a half...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.