MySQL Forums
Forum List  »  Performance

Re: InnoDB CPU Spikes
Posted by: Sabari girish Viswanathan
Date: March 30, 2009 01:25AM

Experts,

I am still stuck with the same problem infact even with a simple query the CPU spikes here is the results

mysql> select count(*) from tblAuditLog where pkAuditLogId>418584199 and pkAuditLogId<422352023;
+----------+
| count(*) |
+----------+
| 1883911 |
+----------+
1 row in set (3.94 sec)

mysql> explain select count(*) from tblAuditLog where pkAuditLogId>418584199 and pkAuditLogId<422352023;
+----+-------------+-------------+-------+---------------+---------+---------+------+---------+--------------------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+-------------+-------------+-------+---------------+---------+---------+------+---------+--------------------------+
| 1 | SIMPLE | tblAuditLog | range | PRIMARY | PRIMARY | 8 | NULL | 1881720 | Using where; Using index |
+----+-------------+-------------+-------+---------------+---------+---------+------+---------+--------------------------+
1 row in set (0.00 sec)



Please guide

Options: ReplyQuote


Subject
Views
Written By
Posted
7846
March 18, 2009 02:43AM
2878
March 18, 2009 03:08AM
2738
March 18, 2009 08:29PM
2692
March 19, 2009 04:48AM
2855
March 19, 2009 10:46AM
2606
March 19, 2009 03:47AM
2748
March 19, 2009 03:55AM
2626
March 19, 2009 04:49AM
2595
March 19, 2009 10:20AM
Re: InnoDB CPU Spikes
2289
March 30, 2009 01:25AM
2349
March 30, 2009 07:13PM
2424
March 31, 2009 02:31AM
2651
March 31, 2009 08:12AM
2271
April 01, 2009 03:27AM
2402
April 01, 2009 10:01AM
2458
April 01, 2009 10:22AM
2297
April 01, 2009 03:45AM
2609
April 01, 2009 11:57PM
2520
April 06, 2009 01:23AM
2475
April 06, 2009 08:01PM
2266
April 07, 2009 12:14AM
2402
April 08, 2009 04:36PM
2395
April 16, 2009 07:02AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.