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 Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Optimizer | Forum profile

Forum profile page for Optimizer on http://www.mysql.com. This report page is the aggregated overview from a single forum: Optimizer, located on the Message Board at http://www.mysql.com. This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period. Additional forum profile information for "Optimizer" on the Message Board at http://www.mysql.com is also shown in the following ways:

1) Latest Active Threads
2) Hot Threads for Last Week

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 forum's popularity and/or exact posting volumes at any given reporting period.

Site: MySQL AB - MySQL Forums - Optimizer (site profile, domain info mysql.com)
Title: Optimizer
Url: http://forums.mysql.com/list.php?115
Users activity: 14 post per thread
Forum activity: 5 active threads during last week
 

Posting activity on Optimizer:

  Week Month 3 Months
Threads: 5 35 82
Post: 7 48 118
 

Optimizer Posting activity graph:

Posts by:  day  week  month 

Top authors during last week:

Name
Posts
Fitsum Tesfagiorgis
4
user's latest post:
Re: Query is so slow
Published (2009-11-02 14:22:00)
Thank you very much Rick, that make sense. By the way in the gift table I have a little more than 10 million rows. Fitsum
Rick James
3
user's latest post:
Re: Update table slower in...
Published (2009-11-03 10:15:00)
To assist in analyzing slow SELECTs, please provide * SHOW CREATE TABLE tbl\G -- engine, indexes -- both tables * SHOW TABLE STATUS LIKE 'tbl'\G -- sizes * EXPLAIN SELECT ...\G -- clues of inefficiencies * SHOW VARIABLES LIKE '%buffer%'; -- cache size and surround them with [ code ] and [ / code ]
Emilio Nicolás
1
user's latest post:
Re: Update table slower in...
Published (2009-11-02 07:14:00)
Aditional information: * Materialized view table is MyIsam engine * users table is InnoDB engine Any more information you need? Thanks!
 

Latest active threads on Optimizer::

MySQL AB - MySQL Forums
Started 1 week ago (2009-11-02 07:14:00)  by Emilio Nicolás
Aditional information: * Materialized view table is MyIsam engine * users table is InnoDB engine Any more information you need? Thanks!
Thread:  Show this thread (2 posts)   Thread info: Re: Update table slower in trigger than in procedure. Is this possible? Size: 185 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Update table slower in trigger than in procedure. Is this possible? :: Optimizer :: MySQL AB - MySQL Forums"
MySQL AB - MySQL Forums
Started 1 week, 2 days ago (2009-10-31 10:19:00)  by Rick James
Executive summary: * New index * Increase cache size * Shrink data Details... That particular query would benefit from either of these: INDEX (client_id, cashin_ind, annual_flag, date_record), INDEX (client_id, annual_flag, cashin_ind, date_record), (There is not advantage in having both.) I don't think you can get much better than simply adding one of those. INDEX ...
Thread:  Show this thread (6 posts)   Thread info: Re: Query is so slow Size: 1,345 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Query is so slow :: Optimizer :: MySQL AB - MySQL Forums"
MySQL AB - MySQL Forums
Started 1 week, 4 days ago (2009-10-29 22:08:00)  by Rick James
SHOW CREATE TABLE inbox \G SHOW TABLE STATUS LIKE 'inbox'; SHOW VARIABLES LIKE '%buffer%'; ALTER TABLE inbox ADD INDEX(IDPerso, display, msg_size);
Thread:  Show this thread (2 posts)   Thread info: Re: SELECT on indexed key is slow Size: 188 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: SELECT on indexed key is slow :: Optimizer :: MySQL AB - MySQL Forums"
MySQL AB - MySQL Forums
Started 1 week, 5 days ago (2009-10-28 22:12:00)  by Rick James
* Normalization * Compression Normalization: Look for any columns that have a lot of duplicate values (and that are longer than a few characters). Build another table(s) with those colunns in them, together with an AUTO_INCREMENT id (perhaps a SMALLINT UNSIGNED or MEDIUMINT), replace the field(s) with that id. A suggestion on finding likely candidates: CREATE TEMPORARY TABLE foo ...
Thread:  Show this thread (2 posts)   Thread info: Re: i have a big table,how can i reduce it's size? Size: 1,807 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: i have a big table,how can i reduce it's size? :: Optimizer :: MySQL AB - MySQL Forums"
MySQL AB - MySQL Forums
Started 2 weeks, 2 days ago (2009-10-24 20:02:00)  by Rick James
You will be looking up by A, not B, correct? InnoDB, with PRIMARY KEY(A). No advantage for splitting the table. Please do SHOW CREATE TABLE so I can check for other issues.
Thread:  Show this thread (8 posts)   Thread info: Re: Very Large Non-Dynamic Table for Lookups Size: 221 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Very Large Non-Dynamic Table for Lookups :: Optimizer :: MySQL AB - MySQL Forums"
MySQL AB - MySQL Forums
Started 2 weeks, 1 day ago (2009-10-25 10:11:00)  by Rick James
Please show the actual info; I suspect there a subtle item that was filtered out in your summary of the situation. * SHOW CREATE TABLE tbl\G * SHOW TABLE STATUS LIKE 'tbl'\G * EXPLAIN SELECT ...\G * SHOW VARIABLES LIKE '%buffer%'; -- cache size and surround them with [ code ] and [ / code ] In particular, I would have expected "ref=const,const"; so I suspect something is amiss.
Thread:  Show this thread (5 posts)   Thread info: Re: Optimizer doesn't use PRIMARY key Size: 456 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Optimizer doesn't use PRIMARY key :: Optimizer :: MySQL AB - MySQL Forums"
MySQL AB - MySQL Forums
Started 2 weeks, 3 days ago (2009-10-23 22:05:00)  by Rick James
The relevant items: 2GB RAM IIS also running skip-innodb key_buffer_size=290M Deduced: Multiple programs running on same machine This is Windows Recommend shrinking several things: key_buffer_size=150M max_connections=100 -- unless you really need lots of connections query_cache_size=20M -- or query_cache_type = OFF thread_cache_size=5 table_cache=400 SHOW ...
Thread:  Show this thread (2 posts)   Thread info: Re: My.ini performance Size: 674 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: My.ini performance :: Optimizer :: MySQL AB - MySQL Forums"
MySQL AB - MySQL Forums
Started 2 weeks, 6 days ago (2009-10-20 08:46:00)  by Rick James
Two issues... * The 7 is just an estimate based on an unknown number of rows to expect from the subquery. (Yeah, it possibly could have done better.) * MySQL often does a poor job of optimization in two situations -- subqueries and "(x,y) IN ...". Both of those exist in the last query. It will actually do a full table scan (see "ALL") of your 200K rows. Suggest you not use the last ...
Thread:  Show this thread (4 posts)   Thread info: Re: simple JOIN with sub SELECT strangeness Size: 437 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: simple JOIN with sub SELECT strangeness :: Optimizer :: MySQL AB - MySQL Forums"
MySQL AB - MySQL Forums
Started 1 month ago (2009-10-08 19:05:00)  by Rick James
Why? MySQL decided to do a table scan when it estimated that you needed more than some threshold % of the table. What to do? There is no good answer. Do you really need to fetch 2,038,247 rows on a regular basis? OPTIMIZE TABLE discount_transactions_iptraffic_all; might help some. But it would lock the table for hour(s).
Thread:  Show this thread (3 posts)   Thread info: Re: Simple query vs. large table Size: 384 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Simple query vs. large table :: Optimizer :: MySQL AB - MySQL Forums"
 

Hot threads for last week on Optimizer::

Optimizer
Re: Query is so slow - 3 new posts
Started 1 week, 2 days ago (2009-10-31 10:19:00)  by Rick James
Executive summary: * New index * Increase cache size * Shrink data Details... That particular query would benefit from either of these: INDEX (client_id, cashin_ind, annual_flag, date_record), INDEX (client_id, annual_flag, cashin_ind, date_record), (There is not advantage in having both.) I don't think you can get much better than simply adding one of those. INDEX ...
Thread:  Show this thread (6 posts)   Thread info: Re: Query is so slow Size: 1,345 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Query is so slow :: Optimizer :: MySQL AB - MySQL Forums"
Optimizer
Started 1 week ago (2009-11-02 07:14:00)  by Emilio Nicolás
Aditional information: * Materialized view table is MyIsam engine * users table is InnoDB engine Any more information you need? Thanks!
Thread:  Show this thread (2 posts)   Thread info: Re: Update table slower in trigger than in procedure. Is this possible? Size: 185 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Update table slower in trigger than in procedure. Is this possible? :: Optimizer :: MySQL AB - MySQL Forums"