Hello,
I continuously load data and execute queries on them in Vertica and I rely on sysquery tables to perform regular house-keeping. So I launch a lot of requests towards the v_monitor tables, especially the v_monitor schema.partition_status.
These requests looks quite slow to me.
I checked they have enough memory to perform ( I tried to increase sysquery memorysize or I also checked that when default sysquery memorysize is used, the general pool is free enough to accept that sysquery borrows from there).
As the requests below shows it, these sysquery requests are queued and a lot of them waits for more than 5 sec in the queue.
=> select * from(SELECT pool_name, queue_entry_timestamp, acquisition_timestamp, (acquisition_timestamp-queue_entry_timestamp) AS queue_wait, node_name FROM V_MONITOR.RESOURCE_ACQUISITIONS WHERE node_name ILIKE '%node000%' and pool_name LIKE '%query%') foo where queue_wait >= '00:00:05'::INTERVAL;
pool_name | queue_entry_timestamp | acquisition_timestamp | queue_wait | node_name-----------+-------------------------------+-------------------------------+-----------------+-----------------------
sysquery | 2014-08-06 09:21:10.716849+02 | 2014-08-06 09:21:15.838563+02 | 00:00:05.121714 | v_verticadb7_node0001
sysquery | 2014-08-06 09:21:10.701133+02 | 2014-08-06 09:21:15.813646+02 | 00:00:05.112513 | v_verticadb7_node0003
sysquery | 2014-08-06 09:20:55.607019+02 | 2014-08-06 09:21:00.73524+02 | 00:00:05.128221 | v_verticadb7_node0001
sysquery | 2014-08-06 09:20:49.255327+02 | 2014-08-06 09:20:55.551017+02 | 00:00:06.29569 | v_verticadb7_node0002
sysquery | 2014-08-06 09:20:49.707672+02 | 2014-08-06 09:20:56.185577+02 | 00:00:06.477905 | v_verticadb7_node0003
sysquery | 2014-08-06 09:20:36.080848+02 | 2014-08-06 09:20:41.577282+02 | 00:00:05.496434 | v_verticadb7_node0001
sysquery | 2014-08-06 09:18:44.384916+02 | 2014-08-06 09:18:52.310069+02 | 00:00:07.925153 | v_verticadb7_node0001
sysquery | 2014-08-06 09:18:44.375139+02 | 2014-08-06 09:18:52.356248+02 | 00:00:07.981109 | v_verticadb7_node0002
sysquery | 2014-08-06 09:18:44.37937+02 | 2014-08-06 09:18:52.294924+02 | 00:00:07.915554 | v_verticadb7_node0003
sysquery | 2014-08-06 09:18:30.285131+02 | 2014-08-06 09:18:36.990072+02 | 00:00:06.704941 | v_verticadb7_node0002
sysquery | 2014-08-06 09:18:13.14312+02 | 2014-08-06 09:18:18.94346+02 | 00:00:05.80034 | v_verticadb7_node0003
sysquery | 2014-08-06 09:17:43.348301+02 | 2014-08-06 09:17:53.708614+02 | 00:00:10.360313 | v_verticadb7_node0001
sysquery | 2014-08-06 09:17:43.784276+02 | 2014-08-06 09:17:53.697057+02 | 00:00:09.912781 | v_verticadb7_node0002
sysquery | 2014-08-06 09:17:43.353602+02 | 2014-08-06 09:17:53.689592+02 | 00:00:10.33599 | v_verticadb7_node0003
sysquery | 2014-08-06 09:17:37.47863+02 | 2014-08-06 09:17:46.867509+02 | 00:00:09.388879 | v_verticadb7_node0001
sysquery | 2014-08-06 09:17:37.47559+02 | 2014-08-06 09:17:46.902676+02 | 00:00:09.427086 | v_verticadb7_node0002
...
(188 rows)
I'd like to know whether it is normal or not that they are queud so long and if there is a means to speed them up.
Thanks a lot for any feedback,
Br
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.