|
More site info...
Performance | Forum profile
|
|
Forum profile page for Performance on http://www.mysql.com.
This report page is the aggregated overview from a single forum: Performance, 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 "Performance" 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.
|
|
|
|
|
Posting activity on Performance:
|
|
Week
|
Month
|
3 Months
|
|
Threads:
|
14
|
93
|
262
|
|
Post:
|
20
|
133
|
383
|
|
|
Performance Posting activity graph:
|
Top authors during last week:
user's latest post:
Re: High load - queries take...
Published (2009-11-06 21:04:00)
This is possibly excessive: innodb_log_file_size = 1500M and may cause hiccups when it is flushing it. To assist in analyzing slow SELECTs, please provide * SHOW CREATE TABLE tbl\G -- engine, indexes -- works better than DESC * SHOW TABLE STATUS LIKE 'tbl'\G -- sizes * EXPLAIN SELECT ...\G -- clues of inefficiencies * SHOW VARIABLES LIKE '%buffer%'; -- cache size * SHOW VARIABLES LIKE 'innodb%'; -- various...
user's latest post:
Re: High load - queries take...
Published (2009-11-05 13:26:00)
>>>>> CONTINUATION >>>>> mysql> show processlist; +----------+-----------------+---------------------------+----------------------+---------+------+-----------------------------+------------------------------------------------------------------------------------------------------+ | Id | User | Host | db | Command | Time | State | Info |...
user's latest post:
Re: Performance impact of...
Published (2009-10-31 15:01:00)
All tables are InnoDB, so yes InnoDB is used a lot. Regarding connections: Number of connections is pretty constant, at the current level although it jumps to around 200 during peak hours. thread_cache_size is 8.
user's latest post:
Re: why won't mysql use an...
Published (2009-11-03 15:02:00)
Update: Well, if I change the date value to a higher date such as 20090301, then it'll finally use the index and the rows shown is much better. But, why isn't it using it to begin with? There are about 300,000 records and only a third will match based on the 20080101 criteria, but it refuses to recognize this in the explain...
user's latest post:
Re: perf wierd cpu usage since...
Published (2009-11-02 02:27:00)
Hello, I improved those slow queries, we will see after next week (because we want to test before put them in production)... I'm still trying to get more information about mysql tuning and queries optimization... I am still trying to see what happened the night before this... but I see nothing special logged. we have a lot of crons scanning a lot of big tables... more than one time a night We don't backup automatically yet... I do it...
user's latest post:
Copying data from a table
Published (2009-11-03 04:33:00)
Hi All, I have an application in which I am creating dynamic shops from a huge database of products. For achieving performance we are expanding our server architecture. Now we have a separate database server on which is dedicated for hosting the data of created shops. When a new shop will be created, we will create a database with the name of the shop on this database server and create its core tables. Now we have to copy the data for each...
user's latest post:
Re: Removing NOT NULL constraint...
Published (2009-11-03 09:58:00)
Hi Rick, The manual says changes can be made immediately if the change is only to the table's metadata. I had assumed that the NOT NULL constraint would be part of the metadata, so I guess my question should really have been "Why can't the NOT NULL constraint for a column stored as part of a table's metadata?" Thanks, Ben
user's latest post:
mysql 4.1 - 50 Millieion records...
Published (2009-11-05 00:15:00)
I have came across a situation where app generates around 50 M records each year.. We are using mysql 4.1 and its not possible to upgrade at this time.. Can any one provide inputs, ideas on how this situation can be handled.. As far as I know 4.1 does not support partitioning... The table structure is very simple with few columns.. The problem is how to handle this many records in one table and still have decent performance.. Table structure...
user's latest post:
Deadlock / performance
Published (2009-11-06 05:23:00)
Hi, I have a query designed to update a series of rows from x to the end, so if 30 rows match the criteria I may want to update the last 20 rows leaving the first 10 as they are. I have a query to achieve this: UPDATE queue SET processed=1 WHERE id IN (SELECT * FROM (SELECT id FROM queue WHERE probid=1 AND id <> 2 AND processed <> 1 ORDER BY id DESC LIMIT 10, 18446744073709551615) alias) This works in a test...
|
|
|
|
Latest active threads on Performance::
Started 5 days, 1 hour ago (2009-11-05 13:26:00)
by Prova Test
>>>>> CONTINUATION >>>>>
mysql> show processlist;
+----------+-----------------+------------------- --------+----------------------+---------+------+- ----------------------------+--------------------- -------------------------------------------------- -------------------------------+
| Id | User | Host | db | Command | Time | State...
Started 4 days, 15 hours ago (2009-11-05 23:42:00)
by Rick James
There are many factors leading to performance, or lack thereof. Number of rows is rarely the primary cause of poor performance.
Sorry, I need more than a sketch of the tables; please provide
* SHOW CREATE TABLE tbl\G -- engine, indexes
* SHOW TABLE STATUS LIKE 'tbl'\G -- sizes
* EXPLAIN SELECT ...\G -- clues of inefficiencies
* SHOW VARIABLES LIKE '%buffer%'; -- cache size
and ...
Started 1 week ago (2009-11-03 15:02:00)
by Jiong Mai
Update: Well, if I change the date value to a higher date such as 20090301, then it'll finally use the index and the rows shown is much better. But, why isn't it using it to begin with? There are about 300,000 records and only a third will match based on the 20080101 criteria, but it refuses to recognize this in the explain...
Started 5 days, 23 hours ago (2009-11-04 15:44:00)
by Rick James
You are building a new machine for each 'shop', correct? So, this is effectively the same problem as cloning a slave. Or reloading a dead machine.
Plan A:
1. mysqldump existing box (use appropriate flags so you get a consistent snapshot)
2. load that onto the new box (mysql <dump.sql)
Plan B:
1. stop mysql on existing box and the new box.
2. copy the directory tree to the new ...
Started 1 week, 4 days ago (2009-10-29 21:47:00)
by Rick James
Any ALTER rebuilds the table, and rebuilds the indexes. Alas, it will take a long time for a table that big.
SHOW VARIABLES LIKE "%buffer%";
SHOW VARIABLES LIKE "%tmp%";
Started 1 week, 1 day ago (2009-11-02 07:12:00)
by Emilio Nicolás
I guess i am crazy... but i already have the same problem! :-(
Started 2 weeks, 4 days ago (2009-10-23 10:47:00)
by Rick James
Let's dig deeper in some other directions.
* I see 1000 slow queries; what does the slowlog tell you (mysqldumpslow)? You might decrease long_query_time to get more data here.
* SHOW GLOBAL STATUS; (You probably have SESSION data there.)
* 100 qps, so the server is not loafing. 100 simple queries is not a problem for MySQL; 100 lengthy queries could be a problem.
* SHOW ...
|
|
Hot threads for last week on Performance::
Started 1 week ago (2009-11-03 15:02:00)
by Jiong Mai
Update: Well, if I change the date value to a higher date such as 20090301, then it'll finally use the index and the rows shown is much better. But, why isn't it using it to begin with? There are about 300,000 records and only a third will match based on the 20080101 criteria, but it refuses to recognize this in the explain...
Started 5 days, 1 hour ago (2009-11-05 13:26:00)
by Prova Test
>>>>> CONTINUATION >>>>>
mysql> show processlist;
+----------+-----------------+------------------- --------+----------------------+---------+------+- ----------------------------+--------------------- -------------------------------------------------- -------------------------------+
| Id | User | Host | db | Command | Time | State...
Started 1 week, 4 days ago (2009-10-29 21:47:00)
by Rick James
Any ALTER rebuilds the table, and rebuilds the indexes. Alas, it will take a long time for a table that big.
SHOW VARIABLES LIKE "%buffer%";
SHOW VARIABLES LIKE "%tmp%";
Started 5 days, 23 hours ago (2009-11-04 15:44:00)
by Rick James
You are building a new machine for each 'shop', correct? So, this is effectively the same problem as cloning a slave. Or reloading a dead machine.
Plan A:
1. mysqldump existing box (use appropriate flags so you get a consistent snapshot)
2. load that onto the new box (mysql <dump.sql)
Plan B:
1. stop mysql on existing box and the new box.
2. copy the directory tree to the new ...
Started 4 days, 15 hours ago (2009-11-05 23:42:00)
by Rick James
There are many factors leading to performance, or lack thereof. Number of rows is rarely the primary cause of poor performance.
Sorry, I need more than a sketch of the tables; please provide
* SHOW CREATE TABLE tbl\G -- engine, indexes
* SHOW TABLE STATUS LIKE 'tbl'\G -- sizes
* EXPLAIN SELECT ...\G -- clues of inefficiencies
* SHOW VARIABLES LIKE '%buffer%'; -- cache size
and ...
Started 1 week, 1 day ago (2009-11-02 07:12:00)
by Emilio Nicolás
I guess i am crazy... but i already have the same problem! :-(
Started 2 weeks, 4 days ago (2009-10-23 10:47:00)
by Rick James
Let's dig deeper in some other directions.
* I see 1000 slow queries; what does the slowlog tell you (mysqldumpslow)? You might decrease long_query_time to get more data here.
* SHOW GLOBAL STATUS; (You probably have SESSION data there.)
* 100 qps, so the server is not loafing. 100 simple queries is not a problem for MySQL; 100 lengthy queries could be a problem.
* SHOW ...
|
|