Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku
My account: Login | Sign Up
Loading... 

How to prevent MySQL queries from taking too long | Thread profile

Thread profile page for "How to prevent MySQL queries from taking too long" on http://www.sitepointforums.com. This report page is a snippet summary view from a single thread "How to prevent MySQL queries from taking too long", located on the Message Board at http://www.sitepointforums.com. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity, which are reported in a table below. Additional thread profile information is also shown in the following ways:

1) Top Contributing Authors
2) Related Threads on "eBay Auctions"
3) Related Threads on Other Sites

Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a thread's popularity and/or exact posting volumes at any given reporting period.

Title: How to prevent MySQL queries from taking too long
Site: SitePoint : New Articles, Fresh Thinking for Web Developers and Designers  SitePoint : New Articles, Fresh Thinking for Web Developers and Designers - site profile
Forum: longneck   longneck   - forum profile
Total authors: 3 authors
Total thread posts: 3 posts
Thread activity: no new posts during last week
Domain info for: sitepointforums.com

Thread posts in How to prevent MySQL queries from taking too long:

1. 
Started 2 years, 11 months ago (2006-07-19 09:17:00)  by jasongr
Hi, I have a very busy database with some tables having hundreds of thousands of records. I am running MySQL 5.0.16 on Windows. Some of the queries running on my database are not fined-tuned enough, and need improvement. However, the system is live in production and I am looking for a way to prevent MYSQL from committing Harakiri, i.e. from running very slow queries forever, taking the cpu to 50...
Size: 965 bytes
Customize:  Customize "How to prevent MySQL queries from taking too long :: longneck   :: SitePoint : New Articles, Fresh Thinking for Web D..."
2. 
Started 2 years, 11 months ago (2006-07-19 09:23:00)  by guelphdad
are your tables properly indexed? is your server properly tuned? those two things alone can make significant differences in the time taken for your queries.
Size: 156 bytes
Customize:  Customize "<b>Reply 1</b>: How to prevent MySQL queries from taking too long :: longneck   :: SitePoint : New Articles, Fresh Thinking for Web D..."
3. 
Started 2 years, 11 months ago (2006-07-21 11:02:00)  by aquarelle
You need to optimise query and add index sensibly. Don't over index as it will slow it down more! It's a fine balance. Index on the right column can increase performance for SELECT and UPDATE statement on a large table but slow performance on INSERT & DELETE as the engine has to update the index. You have to decide based on whether the table is SELECT & UPDATE heavy or INSERT & DELETE heavy. ...
Size: 1,238 bytes
Customize:  Customize "<b>Reply 2</b>: How to prevent MySQL queries from taking too long :: longneck   :: SitePoint : New Articles, Fresh Thinking for Web D..."
 

Top contributing authors for How to prevent MySQL queries from taking too long

Name
Posts
jasongr
1
user's latest post:
How to prevent MySQL queries...
Published (2006-07-19 09:17:00)
Hi, I have a very busy database with some tables having hundreds of thousands of records. I am running MySQL 5.0.16 on Windows. Some of the queries running on my database are not fined-tuned enough, and need improvement. However, the system is live in production and I am looking for a way to prevent MYSQL from committing Harakiri, i.e. from running very slow queries forever, taking the cpu to 50% and beyond for hours. My scripting language is...
guelphdad
1
user's latest post:
How to prevent MySQL queries...
Published (2006-07-19 09:23:00)
are your tables properly indexed? is your server properly tuned? those two things alone can make significant differences in the time taken for your queries.
aquarelle
1
user's latest post:
How to prevent MySQL queries...
Published (2006-07-21 11:02:00)
You need to optimise query and add index sensibly. Don't over index as it will slow it down more! It's a fine balance. Index on the right column can increase performance for SELECT and UPDATE statement on a large table but slow performance on INSERT & DELETE as the engine has to update the index. You have to decide based on whether the table is SELECT & UPDATE heavy or INSERT & DELETE heavy. Once a query is executing, I...