Conversation
|
Mkay, this does not fix it... it makes it better, but ultimately it is still slow Because of so, should I remove this |
|
That's super-weird. How could it be that selecting 1 record is slower than selecting 100 records? |
|
@samdark my findings there even were wrong. I am still trying to figure out how to make it so that it starts using indexes |
|
It won't use index since it doesn't make sense to use index on two rows. Even full table scan will be faster. |
|
Make it 5000 rows and check again. |
|
I played with this some time ago and I've got much better performance with separate query for each priority (I have 3 priorities, so it was not a big deal) than one query with |
|
@rob006 unfortunately yii2-queue supports more than 3 priorities... I would like to fix it once and for all, just as it should be fixed |
That depends on driver. Some of them support more priorities, some of them does not support priorities at all. There is no standard here. |


Uh oh!
There was an error while loading. Please reload this page.