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.
Subject
Views
Written By
Posted
7525
November 12, 2010 03:40AM
Re: Table as fifo
2744
November 13, 2010 10:34AM
2721
November 13, 2010 12:14PM
2287
November 13, 2010 08:13PM
2096
November 14, 2010 01:01PM
1875
November 14, 2010 07:03PM
2347
November 15, 2010 02:14PM
1910
November 16, 2010 12:51AM
2639
November 16, 2010 03:03PM
1821
November 16, 2010 08:35PM
2454
November 17, 2010 01:13PM
1963
November 18, 2010 12:01AM
2207
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.