MySQL Forums
Forum List  »  MyISAM

Re: Table as fifo
Posted by: Rick James
Date: November 13, 2010 10:34AM

To assist in analyzing slow SELECTs, 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 surround them with [ code ] and [ / code ]

In particular, I need to know what index you are using on the table. And how big your cache is. And probably other things.

"Don't queue it, just do it" -- That is one of my mantras. To argue against this, please spell out the timings:
* How often is an item added
* How long does it take to process an item
* How long does an item stay in the queue (worst case)

Given all that info, I may agree that a FIFO is the 'right way'. And I may have enough info to explain the slowdown, or give you a fix.

Options: ReplyQuote


Subject
Views
Written By
Posted
6840
November 12, 2010 03:40AM
Re: Table as fifo
2384
November 13, 2010 10:34AM
2372
November 13, 2010 12:14PM
1920
November 13, 2010 08:13PM
1823
November 14, 2010 01:01PM
1635
November 14, 2010 07:03PM
1962
November 15, 2010 02:14PM
1618
November 16, 2010 12:51AM
2255
November 16, 2010 03:03PM
1606
November 16, 2010 08:35PM
2086
November 17, 2010 01:13PM
1710
November 18, 2010 12:01AM
1934
November 18, 2010 12:25PM


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.