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... 

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.

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

Posting activity on Performance:

  Week Month 3 Months
Threads: 24 73 271
Post: 31 95 395
 

Performance Posting activity graph:

Posts by:  day  week  month 

Top authors during last week:

Name
Posts
Rick James
18
user's latest post:
Re: How many connections could I...
Published (2009-11-26 13:17:00)
There are two questions -- * How many users can be connected at any moment (that is, between Connect and Disconnect) * How many queries per second can MySQL sustain. Users should disconnect when finished; it takes some resources to have even an idle connection. With only 2GB of RAM, I would recommend setting max_connections to 500. MySQL, on your config, can execute perhaps 300 queries per second, perhaps 2000. It depends on how...
william wil
3
user's latest post:
Re: Strange? Join with text=id...
Published (2009-11-22 15:30:00)
Hi Rick, thanks for replying. I used ALTER 1_index `id` to convert the INT to TEXT. The redundant key was my mistake :) We have an index on word, not key twice :)
Andrew Nuss
2
user's latest post:
Re: read write contention split...
Published (2009-11-20 17:10:00)
I'm not good at sql, I'm using hibernate. What I propose is simply to have N identical tables, with a suffix in the table name indicating the index. Then based on my criteria that tells me which table the record(s) are in or should be in, I generate the appropriate SQL to reference one of the N identical tables. Will this reduce contention on table lock? Andy
Martin Tsvetanov
2
user's latest post:
Re: Very Slow Simple Query
Published (2009-11-26 13:41:00)
I understand, but the thing is i am using around 600MB of 1GB. I mean there is free memory which could be used, so why is it swapping?
Brian Kiesel
1
user's latest post:
load data infile real-time data...
Published (2009-11-19 14:29:00)
I am attempting to load data via "load data infile" into mysql at a rate of 22k rows / second every second (1.9 billion rows per day) concurrently with user queries. This is a crazy load rate I realize. This data is loaded into 1 table (about 60 columns with a avg row length of 300 bytes) using the innodb engine. The table has 1 index comprised of 4 columns (date and a few number columns) It is running under 64 bit linux on a...
Dimitris Theodorakis
1
user's latest post:
Re: Query many-to-many...
Published (2009-11-19 20:03:00)
Thank you for your reply Rick. It really seems that SET datatype with the use of binary operators (AND, OR) is very very fast. Although indexes can't be useful with such a schema (myquery) in this case runs in less than 0.06s for 140.000 products which is impressive. I think that this is a good case where you keep a schema not normalized to take advantage of the speed that binary operators offer. Dimitris
Guillaume Boissiere
1
user's latest post:
How to debug rare MySQL crashes
Published (2009-11-21 15:40:00)
We are running MySQL 5.0.86 (RPM install) on our RHEL4 production server, and in the last couple of months, we have been experiencing a couple of crashes, where basically the server comes to a crawl and our website is no longer available. We connect to MySQL through PHP using ext/mysql with mysql_connect(). This is a dedicated MySQL server with 16GB of RAM, and pretty much nothing else runs on that box. When the crash happens, top output shows...
Mohamed el Maslouhi
1
user's latest post:
ORDER BY LIMIT IS SLOW
Published (2009-11-22 10:32:00)
I have a query that takes 14 seconds to execute: SELECT posts.* FROM posts force index (idx_post_date) INNER JOIN follow ON follow.followuserid = posts.userid WHERE follow.userid=’61585′ ORDER BY date DESC LIMIT 0, 20; The table posts has ~1000000 records and the number of records in the posts table belonging to userid 61585 is 0. The table follow has 63537 records. This is how my indexes are set:- mysql> show index from follow;...
Douglas Ferguson
1
user's latest post:
Indexing a table still scans...
Published (2009-11-25 22:09:00)
My query is not performing like I would expect and the plan is showing that there are lots of rows scanned even though the index is used. Below is the plan and the index. mysql> explain select this_.id as y0_ from MonitoredResult this_ inner join MonitoredItem item1_ on this_.monitored_item_id=item1_.id left outer join MonitoredTweet item1_1_ on item1_.id=item1_1_.id left outer join MonitoredArticle item1_2_ on item1_.id=item1_2_.id...
Erik Frøseth
1
user's latest post:
Re: How many connections could I...
Published (2009-11-26 14:14:00)
Thanks a lot for those answers. It seems like tuning the server configuration is quite important, right? I guess my best choice is to start reading some documentation about setting up the server the best possible way. Thanks again :-)
 

Latest active threads on Performance::

MySQL AB - MySQL Forums
Started 1 day, 18 hours ago (2009-11-26 14:14:00)  by Erik Frøseth
Thanks a lot for those answers. It seems like tuning the server configuration is quite important, right? I guess my best choice is to start reading some documentation about setting up the server the best possible way. Thanks again :-)
Thread:  Show this thread (2 posts)   Thread info: Re: How many connections could I expect to handle on my server? Size: 268 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: How many connections could I expect to handle on my server? :: Performance :: MySQL AB - MySQL Forums"
MySQL AB - MySQL Forums
Started 2 days, 8 hours ago (2009-11-25 23:46:00)  by Rick James
Currently you have innodb_buffer_pool_size = 300M; you say it is swapping up to 4MB. So 296M might do. Let's err on the safe side -- 260M.
Thread:  Show this thread (5 posts)   Thread info: Re: Very Slow Simple Query Size: 140 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Very Slow Simple Query :: Performance :: MySQL AB - MySQL Forums"
MySQL AB - MySQL Forums
Started 2 days, 7 hours ago (2009-11-26 00:28:00)  by Rick James
If it turns out that user#46 did not post anything in the last 100K 'dates', the FORCE INDEX will be slower, because it will have to do more work.
Thread:  Show this thread (2 posts)   Thread info: Re: ORDER BY LIMIT IS SLOW Size: 146 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: ORDER BY LIMIT IS SLOW :: Performance :: MySQL AB - MySQL Forums"
MySQL AB - MySQL Forums
Started 1 week ago (2009-11-21 04:58:00)  by william wil
Hi there, I've got something that is - IMHO- very strange, and I'm just posting it to see if somebody understands this one... I've got 2 tables: CREATE TABLE IF NOT EXISTS `1_index` ( `id` int(11) unsigned NOT NULL, `word` varchar(255) NOT NULL, `language` varchar(255) NOT NULL, PRIMARY KEY (`id`), KEY (`word`), ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_...
Thread:  Show this thread (5 posts)   Thread info: Strange? Join with text=id is faster than join on int=id Size: 2,003 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Strange? Join with text=id is faster than join on int=id :: Performance :: MySQL AB - MySQL Forums"
MySQL AB - MySQL Forums
Started 5 days, 13 hours ago (2009-11-22 18:46:00)  by Rick James
By "crash" do you mean that MySQL dies? Or becomes unusable? Are you using MyISAM or InnoDB or both? SHOW VARIABLES LIKE "%size"; If mysql crashes in the middle of a long query, the query will not get into the slowlog. How about writing a script to frequently writ the PROCESSLIST to a file. Then hope to get something interesting at the end of the file just before the crash....
Thread:  Show this thread (2 posts)   Thread info: Re: How to debug rare MySQL crashes Size: 598 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: How to debug rare MySQL crashes :: Performance :: MySQL AB - MySQL Forums"
MySQL AB - MySQL Forums
Started 6 days, 22 hours ago (2009-11-21 10:12:00)  by Rick James
Yeah, that's a lot to be pumping in. First, a discussion of indexes... InnoDB must have a PRIMARY KEY; a PK will be supplied if you do not specify one (or a UNIQUE key). You did not clarify what your key was; I guess it was a secondary key. Each row will be inserted into the table according to the PRIMARY KEY. If the PK is an AUTO_INCREMENT (the default if not specified), rows will ...
Thread:  Show this thread (2 posts)   Thread info: Re: load data infile real-time data load Size: 3,462 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: load data infile real-time data load :: Performance :: MySQL AB - MySQL Forums"
MySQL AB - MySQL Forums
Started 1 week, 1 day ago (2009-11-19 23:12:00)  by Rick James
Please show a suggested schema (SHOW CREATE TABLE...). What do you mean by mirror? Isolation level only applies to InnoDB. Transactions may or may not be required; can't tell from this overview. Most of your questions are less relevant for performance than the layout of the tables, the indexes, and the structure of the SELECTs. If the traffic is high enough, you should ...
Thread:  Show this thread (4 posts)   Thread info: Re: read write contention split table Size: 540 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: read write contention split table :: Performance :: MySQL AB - MySQL Forums"
 

Hot threads for last week on Performance::

Performance
Started 1 week ago (2009-11-21 04:58:00)  by william wil
Hi there, I've got something that is - IMHO- very strange, and I'm just posting it to see if somebody understands this one... I've got 2 tables: CREATE TABLE IF NOT EXISTS `1_index` ( `id` int(11) unsigned NOT NULL, `word` varchar(255) NOT NULL, `language` varchar(255) NOT NULL, PRIMARY KEY (`id`), KEY (`word`), ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_...
Thread:  Show this thread (5 posts)   Thread info: Strange? Join with text=id is faster than join on int=id Size: 2,003 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Strange? Join with text=id is faster than join on int=id :: Performance :: MySQL AB - MySQL Forums"
Performance
Started 2 days, 8 hours ago (2009-11-25 23:46:00)  by Rick James
Currently you have innodb_buffer_pool_size = 300M; you say it is swapping up to 4MB. So 296M might do. Let's err on the safe side -- 260M.
Thread:  Show this thread (5 posts)   Thread info: Re: Very Slow Simple Query Size: 140 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Very Slow Simple Query :: Performance :: MySQL AB - MySQL Forums"
Performance
Started 1 week, 1 day ago (2009-11-19 23:12:00)  by Rick James
Please show a suggested schema (SHOW CREATE TABLE...). What do you mean by mirror? Isolation level only applies to InnoDB. Transactions may or may not be required; can't tell from this overview. Most of your questions are less relevant for performance than the layout of the tables, the indexes, and the structure of the SELECTs. If the traffic is high enough, you should ...
Thread:  Show this thread (4 posts)   Thread info: Re: read write contention split table Size: 540 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: read write contention split table :: Performance :: MySQL AB - MySQL Forums"
Performance
Started 5 days, 13 hours ago (2009-11-22 18:46:00)  by Rick James
By "crash" do you mean that MySQL dies? Or becomes unusable? Are you using MyISAM or InnoDB or both? SHOW VARIABLES LIKE "%size"; If mysql crashes in the middle of a long query, the query will not get into the slowlog. How about writing a script to frequently writ the PROCESSLIST to a file. Then hope to get something interesting at the end of the file just before the crash....
Thread:  Show this thread (2 posts)   Thread info: Re: How to debug rare MySQL crashes Size: 598 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: How to debug rare MySQL crashes :: Performance :: MySQL AB - MySQL Forums"
Performance
Started 6 days, 22 hours ago (2009-11-21 10:12:00)  by Rick James
Yeah, that's a lot to be pumping in. First, a discussion of indexes... InnoDB must have a PRIMARY KEY; a PK will be supplied if you do not specify one (or a UNIQUE key). You did not clarify what your key was; I guess it was a secondary key. Each row will be inserted into the table according to the PRIMARY KEY. If the PK is an AUTO_INCREMENT (the default if not specified), rows will ...
Thread:  Show this thread (2 posts)   Thread info: Re: load data infile real-time data load Size: 3,462 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: load data infile real-time data load :: Performance :: MySQL AB - MySQL Forums"
Performance
Started 1 day, 18 hours ago (2009-11-26 14:14:00)  by Erik Frøseth
Thanks a lot for those answers. It seems like tuning the server configuration is quite important, right? I guess my best choice is to start reading some documentation about setting up the server the best possible way. Thanks again :-)
Thread:  Show this thread (2 posts)   Thread info: Re: How many connections could I expect to handle on my server? Size: 268 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: How many connections could I expect to handle on my server? :: Performance :: MySQL AB - MySQL Forums"
Performance
Started 2 days, 7 hours ago (2009-11-26 00:28:00)  by Rick James
If it turns out that user#46 did not post anything in the last 100K 'dates', the FORCE INDEX will be slower, because it will have to do more work.
Thread:  Show this thread (2 posts)   Thread info: Re: ORDER BY LIMIT IS SLOW Size: 146 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: ORDER BY LIMIT IS SLOW :: Performance :: MySQL AB - MySQL Forums"
Performance
Started 1 week, 1 day ago (2009-11-19 20:03:00)  by Dimitris Theodorakis
Thank you for your reply Rick. It really seems that SET datatype with the use of binary operators (AND, OR) is very very fast. Although indexes can't be useful with such a schema (myquery) in this case runs in less than 0.06s for 140.000 products which is impressive. I think that this is a good case where you keep a schema not normalized to take advantage of the speed that binary ...
Thread:  Show this thread (2 posts)   Thread info: Re: Query many-to-many relation:: how to optimize it Size: 459 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Query many-to-many relation:: how to optimize it :: Performance :: MySQL AB - MySQL Forums"