Results

By type

          mariadb 02:43:29.01 
mariadb 02:43:29.02 Welcome to the Bitnami mariadb-galera container
mariadb 02:43:29.03 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-mariadb-galera
mariadb 02:43:29.04 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-mariadb-galera/issues
mariadb 02:43:29.05 
mariadb 02:43:29.06 INFO  ==> ** Starting MariaDB setup **
mariadb 02:43:29.14 INFO  ==> Validating settings in MYSQL_*/MARIADB_* env vars
mariadb 02:43:29.27 INFO  ==> Initializing mariadb database
mariadb 02:43:29.28 DEBUG ==> Ensuring expected directories/files exist
mariadb 02:43:29.34 INFO  ==> Updating 'my.cnf' with custom configuration
mariadb 02:43:29.36 INFO  ==> Setting user option
mariadb 02:43:29.38 DEBUG ==> Setting user to 'my-user' in mariadb configuration file /opt/bitnami/mariadb/conf/my.cnf
mariadb 02:43:29.41 INFO  ==> Setting wsrep_node_name option
mariadb 02:43:29.42 DEBUG ==> Setting wsrep_node_name to 'onap-mariadb-galera-0' in mariadb configuration file /opt/bitnami/mariadb/conf/my.cnf
mariadb 02:43:29.46 INFO  ==> Setting wsrep_node_address option
mariadb 02:43:29.47 DEBUG ==> Setting wsrep_node_address to '10.233.72.160' in mariadb configuration file /opt/bitnami/mariadb/conf/my.cnf
mariadb 02:43:29.54 INFO  ==> Setting wsrep_sst_auth option
mariadb 02:43:29.57 DEBUG ==> Setting wsrep_sst_auth to 'mariabackup:psw26pAr' in mariadb configuration file /opt/bitnami/mariadb/conf/my.cnf
mariadb 02:43:29.66 DEBUG ==> Cleaning data directory to ensure successfully initialization
Installing MariaDB/MySQL system tables in '/bitnami/mariadb/data' ...
2022-04-10  2:43:29 0 [Warning] WSREP: option --wsrep-causal-reads is deprecated
2022-04-10  2:43:29 0 [Warning] WSREP: --wsrep-causal-reads=ON takes precedence over --wsrep-sync-wait=0. WSREP_SYNC_WAIT_BEFORE_READ is on
OK

To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system


PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
To do so, start the server, then issue the following commands:

'/opt/bitnami/mariadb/bin/mysqladmin' -u root password 'new-password'
'/opt/bitnami/mariadb/bin/mysqladmin' -u root -h onap-mariadb-galera-0 password 'new-password'

Alternatively you can run:
'/opt/bitnami/mariadb/bin/mysql_secure_installation'

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.

See the MariaDB Knowledgebase at https://mariadb.com/kb or the
MySQL manual for more instructions.

You can start the MariaDB daemon with:
cd '/opt/bitnami/mariadb' ; /opt/bitnami/mariadb/bin/mysqld_safe --datadir='/bitnami/mariadb/data'

You can test the MariaDB daemon with mysql-test-run.pl
cd '/opt/bitnami/mariadb/mysql-test' ; perl mysql-test-run.pl

Please report any problems at https://mariadb.org/jira

The latest information about MariaDB is available at https://mariadb.org/.
You can find additional information about the MySQL part at:
https://dev.mysql.com
Consider joining MariaDB's strong and vibrant community:
https://mariadb.org/get-involved/

mariadb 02:43:39.44 INFO  ==> Starting mariadb in background
2022-04-10  2:43:39 0 [Warning] WSREP: option --wsrep-causal-reads is deprecated
2022-04-10  2:43:39 0 [Warning] WSREP: --wsrep-causal-reads=ON takes precedence over --wsrep-sync-wait=0. WSREP_SYNC_WAIT_BEFORE_READ is on
2022-04-10  2:43:39 0 [Note] /opt/bitnami/mariadb/sbin/mysqld (mysqld 10.5.8-MariaDB-log) starting as process 170 ...
2022-04-10  2:43:39 0 [Note] WSREP: Loading provider /opt/bitnami/mariadb/lib/libgalera_smm.so initial position: 00000000-0000-0000-0000-000000000000:-1
2022-04-10  2:43:39 0 [Note] WSREP: wsrep_load(): loading provider library '/opt/bitnami/mariadb/lib/libgalera_smm.so'
2022-04-10  2:43:39 0 [Note] WSREP: wsrep_load(): Galera 4.7(rXXXX) by Codership Oy  loaded successfully.
2022-04-10  2:43:39 0 [Note] WSREP: CRC-32C: using 64-bit x86 acceleration.
2022-04-10  2:43:39 0 [Warning] WSREP: Could not open state file for reading: '/bitnami/mariadb/data//grastate.dat'
2022-04-10  2:43:39 0 [Note] WSREP: Found saved state: 00000000-0000-0000-0000-000000000000:-1, safe_to_bootstrap: 1
2022-04-10  2:43:39 0 [Note] WSREP: GCache DEBUG: opened preamble:
Version: 0
UUID: 00000000-0000-0000-0000-000000000000
Seqno: -1 - -1
Offset: -1
Synced: 0
2022-04-10  2:43:39 0 [Note] WSREP: Skipped GCache ring buffer recovery: could not determine history UUID.
2022-04-10  2:43:39 0 [Note] WSREP: Passing config to GCS: base_dir = /bitnami/mariadb/data/; base_host = 10.233.72.160; base_port = 4567; cert.log_conflicts = no; cert.optimistic_pa = yes; debug = no; evs.auto_evict = 0; evs.delay_margin = PT1S; evs.delayed_keep_period = PT30S; evs.inactive_check_period = PT0.5S; evs.inactive_timeout = PT15S; evs.join_retrans_period = PT1S; evs.max_install_timeouts = 3; evs.send_window = 4; evs.stats_report_period = PT1M; evs.suspect_timeout = PT5S; evs.user_send_window = 2; evs.view_forget_timeout = PT24H; gcache.dir = /bitnami/mariadb/data/; gcache.keep_pages_size = 0; gcache.mem_size = 0; gcache.name = galera.cache; gcache.page_size = 128M; gcache.recover = yes; gcache.size = 128M; gcomm.thread_prio = ; gcs.fc_debug = 0; gcs.fc_factor = 1.0; gcs.fc_limit = 16; gcs.fc_master_slave = no; gcs.max_packet_size = 64500; gcs.max_throttle = 0.25; gcs.recv_q_hard_limit = 9223372036854775807; gcs.recv_q_soft_limit = 0.25; gcs.sync_donor = no; gmcast.segment = 0; gmcast.version = 0; pc.announce_timeout = PT3S;
2022-04-10  2:43:39 0 [Note] WSREP: Start replication
2022-04-10  2:43:39 0 [Note] WSREP: Connecting with bootstrap option: 1
2022-04-10  2:43:39 0 [Note] WSREP: Setting GCS initial position to 00000000-0000-0000-0000-000000000000:-1
2022-04-10  2:43:39 0 [Note] WSREP: protonet asio version 0
2022-04-10  2:43:39 0 [Note] WSREP: Using CRC-32C for message checksums.
2022-04-10  2:43:39 0 [Note] WSREP: backend: asio
2022-04-10  2:43:39 0 [Note] WSREP: gcomm thread scheduling priority set to other:0 
2022-04-10  2:43:39 0 [Warning] WSREP: access file(/bitnami/mariadb/data//gvwstate.dat) failed(No such file or directory)
2022-04-10  2:43:39 0 [Note] WSREP: restore pc from disk failed
2022-04-10  2:43:39 0 [Note] WSREP: GMCast version 0
2022-04-10  2:43:39 0 [Note] WSREP: (07365982-928d, 'tcp://0.0.0.0:4567') listening at tcp://0.0.0.0:4567
2022-04-10  2:43:39 0 [Note] WSREP: (07365982-928d, 'tcp://0.0.0.0:4567') multicast: , ttl: 1
2022-04-10  2:43:39 0 [Note] WSREP: EVS version 1
2022-04-10  2:43:39 0 [Note] WSREP: gcomm: bootstrapping new group 'galera'
2022-04-10  2:43:39 0 [Note] WSREP: start_prim is enabled, turn off pc_recovery
2022-04-10  2:43:39 0 [Note] WSREP: EVS version upgrade 0 -> 1
2022-04-10  2:43:39 0 [Note] WSREP: PC protocol upgrade 0 -> 1
2022-04-10  2:43:39 0 [Note] WSREP: Node 07365982-928d state prim
2022-04-10  2:43:39 0 [Note] WSREP: view(view_id(PRIM,07365982-928d,1) memb {
	07365982-928d,0
} joined {
} left {
} partitioned {
})
2022-04-10  2:43:39 0 [Note] WSREP: save pc into disk
2022-04-10  2:43:39 0 [Note] WSREP: gcomm: connected
2022-04-10  2:43:39 0 [Note] WSREP: Changing maximum packet size to 64500, resulting msg size: 32636
2022-04-10  2:43:39 0 [Note] WSREP: Shifting CLOSED -> OPEN (TO: 0)
2022-04-10  2:43:39 0 [Note] WSREP: Opened channel 'galera'
2022-04-10  2:43:39 1 [Note] WSREP: Starting rollbacker thread 1
2022-04-10  2:43:39 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 1
2022-04-10  2:43:39 0 [Note] WSREP: Starting new group from scratch: 0737dde7-b878-11ec-b743-a667e203f25f
2022-04-10  2:43:39 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 0737e390-b878-11ec-80e3-07c4a3c32efd
2022-04-10  2:43:39 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 0737e390-b878-11ec-80e3-07c4a3c32efd
2022-04-10  2:43:39 0 [Note] WSREP: STATE EXCHANGE: got state msg: 0737e390-b878-11ec-80e3-07c4a3c32efd from 0 (onap-mariadb-galera-0)
2022-04-10  2:43:39 0 [Note] WSREP: Quorum results:
	version    = 6,
	component  = PRIMARY,
	conf_id    = 0,
	members    = 1/1 (joined/total),
	act_id     = 0,
	last_appl. = 0,
	protocols  = 2/10/4 (gcs/repl/appl),
	vote policy= 0,
	group UUID = 0737dde7-b878-11ec-b743-a667e203f25f
2022-04-10  2:43:39 0 [Note] WSREP: Flow-control interval: [16, 16]
2022-04-10  2:43:39 0 [Note] WSREP: Restored state OPEN -> JOINED (1)
2022-04-10  2:43:39 0 [Note] WSREP: Member 0.0 (onap-mariadb-galera-0) synced with group.
2022-04-10  2:43:39 0 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 1)
2022-04-10  2:43:39 2 [Note] WSREP: Starting applier thread 2
2022-04-10  2:43:39 2 [Note] WSREP: ####### processing CC 1, local, ordered
2022-04-10  2:43:39 2 [Note] WSREP: Process first view: 0737dde7-b878-11ec-b743-a667e203f25f my uuid: 07365982-b878-11ec-928d-c27d2676a573
2022-04-10  2:43:39 2 [Note] WSREP: Server onap-mariadb-galera-0 connected to cluster at position 0737dde7-b878-11ec-b743-a667e203f25f:1 with ID 07365982-b878-11ec-928d-c27d2676a573
2022-04-10  2:43:39 2 [Note] WSREP: Server status change disconnected -> connected
2022-04-10  2:43:39 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  2:43:39 2 [Note] WSREP: ####### My UUID: 07365982-b878-11ec-928d-c27d2676a573
2022-04-10  2:43:39 2 [Note] WSREP: Cert index reset to 00000000-0000-0000-0000-000000000000:-1 (proto: 10), state transfer needed: no
2022-04-10  2:43:39 0 [Note] WSREP: Service thread queue flushed.
2022-04-10  2:43:39 2 [Note] WSREP: ####### Assign initial position for certification: 00000000-0000-0000-0000-000000000000:-1, protocol version: -1
2022-04-10  2:43:39 2 [Note] WSREP: REPL Protocols: 10 (5)
2022-04-10  2:43:39 2 [Note] WSREP: ####### Adjusting cert position: -1 -> 1
2022-04-10  2:43:39 0 [Note] WSREP: Service thread queue flushed.
2022-04-10  2:43:39 2 [Note] WSREP: GCache history reset: 00000000-0000-0000-0000-000000000000:0 -> 0737dde7-b878-11ec-b743-a667e203f25f:0
2022-04-10  2:43:39 2 [Note] WSREP: ================================================
View:
  id: 0737dde7-b878-11ec-b743-a667e203f25f:1
  status: primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(1):
	0: 07365982-b878-11ec-928d-c27d2676a573, onap-mariadb-galera-0
=================================================
2022-04-10  2:43:39 2 [Note] WSREP: Server status change connected -> joiner
2022-04-10  2:43:39 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  2:43:39 2 [Note] WSREP: Server status change joiner -> initializing
2022-04-10  2:43:39 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  2:43:39 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
2022-04-10  2:43:39 0 [Warning] The parameter innodb_log_files_in_group is deprecated and has no effect.
2022-04-10  2:43:39 0 [Note] InnoDB: Using Linux native AIO
2022-04-10  2:43:39 0 [Note] InnoDB: Uses event mutexes
2022-04-10  2:43:39 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-04-10  2:43:39 0 [Note] InnoDB: Number of pools: 1
2022-04-10  2:43:39 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2022-04-10  2:43:39 0 [Note] mysqld: O_TMPFILE is not supported on /opt/bitnami/mariadb/tmp (disabling future attempts)
2022-04-10  2:43:40 0 [Note] InnoDB: Initializing buffer pool, total size = 2147483648, chunk size = 134217728
2022-04-10  2:43:40 0 [Note] InnoDB: Completed initialization of buffer pool
2022-04-10  2:43:40 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2022-04-10  2:43:40 0 [Note] InnoDB: 128 rollback segments are active.
2022-04-10  2:43:40 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-04-10  2:43:40 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-04-10  2:43:44 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2022-04-10  2:43:44 0 [Note] InnoDB: 10.5.8 started; log sequence number 45118; transaction id 20
2022-04-10  2:43:44 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-04-10  2:43:44 0 [Note] InnoDB: Loading buffer pool(s) from /bitnami/mariadb/data/ib_buffer_pool
/opt/bitnami/mariadb/sbin/mysqld, Version: 10.5.8-MariaDB-log (Source distribution). started with:
Tcp port: 3306  Unix socket: /opt/bitnami/mariadb/tmp/mysql.sock
Time		    Id Command	Argument
2022-04-10  2:43:44 0 [Note] InnoDB: Buffer pool(s) load completed at 220410  2:43:44
2022-04-10  2:43:44 0 [Note] Server socket created on IP: '127.0.0.1'.
2022-04-10  2:43:44 0 [Warning] 'user' entry 'root@onap-mariadb-galera-0' ignored in --skip-name-resolve mode.
2022-04-10  2:43:44 0 [Warning] 'user' entry '@onap-mariadb-galera-0' ignored in --skip-name-resolve mode.
2022-04-10  2:43:44 0 [Warning] 'proxies_priv' entry '@% root@onap-mariadb-galera-0' ignored in --skip-name-resolve mode.
2022-04-10  2:43:44 0 [Note] WSREP: wsrep_init_schema_and_SR 0x0
2022-04-10  2:43:44 0 [Note] WSREP: Server initialized
2022-04-10  2:43:44 0 [Note] WSREP: Server status change initializing -> initialized
2022-04-10  2:43:44 0 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  2:43:44 2 [Note] WSREP: Bootstrapping a new cluster, setting initial position to 00000000-0000-0000-0000-000000000000:-1
2022-04-10  2:43:44 6 [Note] WSREP: Starting applier thread 6
2022-04-10  2:43:44 7 [Note] WSREP: Starting applier thread 7
2022-04-10  2:43:44 8 [Note] WSREP: Starting applier thread 8
2022-04-10  2:43:44 0 [Note] Reading of all Master_info entries succeeded
2022-04-10  2:43:44 0 [Note] Added new Master_info '' to hash table
2022-04-10  2:43:44 5 [Note] WSREP: Cluster table is empty, not recovering transactions
2022-04-10  2:43:44 2 [Note] WSREP: Server status change initialized -> joined
2022-04-10  2:43:44 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  2:43:44 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  2:43:44 0 [Note] /opt/bitnami/mariadb/sbin/mysqld: ready for connections.
Version: '10.5.8-MariaDB-log'  socket: '/opt/bitnami/mariadb/tmp/mysql.sock'  port: 3306  Source distribution
2022-04-10  2:43:44 2 [Note] WSREP: Lowest cert index boundary for CC from group: 1
2022-04-10  2:43:44 2 [Note] WSREP: Min available from gcache for CC from group: 1
2022-04-10  2:43:44 2 [Note] WSREP: Server onap-mariadb-galera-0 synced with group
2022-04-10  2:43:44 2 [Note] WSREP: Server status change joined -> synced
2022-04-10  2:43:44 2 [Note] WSREP: Synchronized with group, ready for connections
2022-04-10  2:43:44 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  2:43:45 11 [Warning] Access denied for user 'root'@'127.0.0.1' (using password: YES)
2022-04-10  2:43:45 12 [Warning] Access denied for user 'root'@'localhost' (using password: YES)
mariadb 02:43:45.47 DEBUG ==> Sleeping 5 seconds before continuing with initialization
mariadb 02:43:50.48 DEBUG ==> Deleting all users to avoid issues with galera configuration
/opt/bitnami/scripts/libmariadbgalera.sh: line 1551: DB_ENABLE_SSL: unbound variable
mariadb 02:43:50.50 DEBUG ==> Executing SQL command:
DELETE FROM mysql.user WHERE user not in ('mysql.sys','mariadb.sys');
# Time: 220410  2:43:50
# User@Host: root[root] @ localhost []
# Thread_id: 13  Schema: mysql  QC_hit: No
# Query_time: 0.329719  Lock_time: 0.326574  Rows_sent: 0  Rows_examined: 7
# Rows_affected: 6  Bytes_sent: 11
use mysql;
SET timestamp=1649558630;
DELETE FROM mysql.user WHERE user not in ('mysql.sys','mariadb.sys');
mariadb 02:43:50.87 DEBUG ==> Configuring root user credentials
/opt/bitnami/scripts/libmariadbgalera.sh: line 1551: DB_ENABLE_SSL: unbound variable
mariadb 02:43:50.89 DEBUG ==> Executing SQL command:
-- create root@localhost user for local admin access
-- create user 'root'@'localhost' identified by "enO2bEb6";
-- grant all on *.* to 'root'@'localhost' with grant option;
-- create admin user for remote access
create user 'root'@'%' identified  by "enO2bEb6";
grant all on *.* to 'root'@'%' with grant option;
flush privileges;
2022-04-10  2:43:50 14 [Warning] 'proxies_priv' entry '@% root@onap-mariadb-galera-0' ignored in --skip-name-resolve mode.
mariadb 02:43:50.94 DEBUG ==> removing the unknown user
/opt/bitnami/scripts/libmariadbgalera.sh: line 1551: DB_ENABLE_SSL: unbound variable
mariadb 02:43:50.96 DEBUG ==> Executing SQL command:
select Host from user where User='';
# User@Host: root[root] @ localhost []
# Thread_id: 15  Schema: mysql  QC_hit: No
# Query_time: 0.001587  Lock_time: 0.000952  Rows_sent: 0  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 71
SET timestamp=1649558630;
select Host from user where User='';
mariadb 02:43:50.98 DEBUG ==> creating database user \'my-user\'
/opt/bitnami/scripts/libmariadbgalera.sh: line 1551: DB_ENABLE_SSL: unbound variable
mariadb 02:43:50.99 DEBUG ==> Executing SQL command:
create or replace user 'my-user'@'%' identified by "tE21Ofi9";
mariadb 02:43:51.02 DEBUG ==> Removing all other hosts for the user
/opt/bitnami/scripts/libmariadbgalera.sh: line 1551: DB_ENABLE_SSL: unbound variable
mariadb 02:43:51.04 DEBUG ==> Executing SQL command:
select Host from user where User='my-user' and Host!='%';
mariadb 02:43:51.07 DEBUG ==> Configure mariabackup user credentials
/opt/bitnami/scripts/libmariadbgalera.sh: line 1551: DB_ENABLE_SSL: unbound variable
mariadb 02:43:51.08 DEBUG ==> Executing SQL command:
create or replace user 'mariabackup'@'localhost' identified by "psw26pAr";
/opt/bitnami/scripts/libmariadbgalera.sh: line 1551: DB_ENABLE_SSL: unbound variable
mariadb 02:43:51.12 DEBUG ==> Executing SQL command:
grant RELOAD,PROCESS,LOCK TABLES,REPLICATION CLIENT on *.* to 'mariabackup'@'localhost';
flush privileges;
2022-04-10  2:43:51 19 [Warning] 'proxies_priv' entry '@% root@onap-mariadb-galera-0' ignored in --skip-name-resolve mode.
mariadb 02:43:51.15 DEBUG ==> Configure replication user
/opt/bitnami/scripts/libmariadbgalera.sh: line 1551: DB_ENABLE_SSL: unbound variable
mariadb 02:43:51.17 DEBUG ==> Executing SQL command:
grant REPLICATION CLIENT ON *.* to 'monitor'@'%' identified by "monitor";
grant PROCESS ON *.* to 'monitor'@'localhost' identified by "monitor";
flush privileges;
2022-04-10  2:43:51 20 [Warning] 'proxies_priv' entry '@% root@onap-mariadb-galera-0' ignored in --skip-name-resolve mode.
mariadb 02:43:51.21 DEBUG ==> Flushing privileges
/opt/bitnami/scripts/libmariadbgalera.sh: line 1551: DB_ENABLE_SSL: unbound variable
mariadb 02:43:51.23 DEBUG ==> Executing SQL command:
flush privileges;
2022-04-10  2:43:51 21 [Warning] 'proxies_priv' entry '@% root@onap-mariadb-galera-0' ignored in --skip-name-resolve mode.
mariadb 02:43:51.27 INFO  ==> Stopping mariadb
2022-04-10  2:43:51 0 [Note] /opt/bitnami/mariadb/sbin/mysqld (initiated by: unknown): Normal shutdown
2022-04-10  2:43:51 0 [Note] WSREP: Shutdown replication
2022-04-10  2:43:51 0 [Note] WSREP: Server status change synced -> disconnecting
2022-04-10  2:43:51 0 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  2:43:51 0 [Note] WSREP: Closing send monitor...
2022-04-10  2:43:51 0 [Note] WSREP: Closed send monitor.
2022-04-10  2:43:51 0 [Note] WSREP: gcomm: terminating thread
2022-04-10  2:43:51 0 [Note] WSREP: gcomm: joining thread
2022-04-10  2:43:51 0 [Note] WSREP: gcomm: closing backend
2022-04-10  2:43:51 0 [Note] WSREP: PC protocol downgrade 1 -> 0
2022-04-10  2:43:51 0 [Note] WSREP: view((empty))
2022-04-10  2:43:51 0 [Note] WSREP: gcomm: closed
2022-04-10  2:43:51 0 [Note] WSREP: New SELF-LEAVE.
2022-04-10  2:43:51 0 [Note] WSREP: Flow-control interval: [0, 0]
2022-04-10  2:43:51 0 [Note] WSREP: Received SELF-LEAVE. Closing connection.
2022-04-10  2:43:51 0 [Note] WSREP: Shifting SYNCED -> CLOSED (TO: 12)
2022-04-10  2:43:51 0 [Note] WSREP: RECV thread exiting 0: Success
2022-04-10  2:43:51 2 [Note] WSREP: ================================================
View:
  id: 0737dde7-b878-11ec-b743-a667e203f25f:12
  status: non-primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: yes
  own_index: -1
  members(0):
=================================================
2022-04-10  2:43:51 2 [Note] WSREP: Non-primary view
2022-04-10  2:43:51 2 [Note] WSREP: Server status change disconnecting -> disconnected
2022-04-10  2:43:51 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  2:43:51 0 [Note] WSREP: recv_thread() joined.
2022-04-10  2:43:51 0 [Note] WSREP: Closing replication queue.
2022-04-10  2:43:51 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  2:43:51 0 [Note] WSREP: Closing slave action queue.
2022-04-10  2:43:51 2 [Note] WSREP: Applier thread exiting ret: 0 thd: 2
2022-04-10  2:43:51 2 [Warning] Aborted connection 2 to db: 'unconnected' user: 'unauthenticated' host: '' (This connection closed normally without authentication)
2022-04-10  2:43:51 7 [Note] WSREP: Applier thread exiting ret: 6 thd: 7
2022-04-10  2:43:51 6 [Note] WSREP: Applier thread exiting ret: 6 thd: 6
2022-04-10  2:43:51 7 [Warning] Aborted connection 7 to db: 'unconnected' user: 'unauthenticated' host: '' (This connection closed normally without authentication)
2022-04-10  2:43:51 6 [Warning] Aborted connection 6 to db: 'unconnected' user: 'unauthenticated' host: '' (This connection closed normally without authentication)
2022-04-10  2:43:51 8 [Note] WSREP: Applier thread exiting ret: 6 thd: 8
2022-04-10  2:43:51 8 [Warning] Aborted connection 8 to db: 'unconnected' user: 'unauthenticated' host: '' (This connection closed normally without authentication)
2022-04-10  2:43:51 1 [Note] WSREP: rollbacker thread exiting 1
2022-04-10  2:43:51 1 [Warning] Aborted connection 1 to db: 'unconnected' user: 'unauthenticated' host: '' (This connection closed normally without authentication)
2022-04-10  2:43:51 0 [Note] Event Scheduler: Purging the queue. 0 events
2022-04-10  2:43:51 0 [Note] WSREP: dtor state: CLOSED
2022-04-10  2:43:51 0 [Note] WSREP: MemPool(TrxHandleSlave): hit ratio: 0, misses: 11, in use: 11, in pool: 0
2022-04-10  2:43:51 0 [Note] WSREP: mon: entered 11 oooe fraction 0 oool fraction 0
2022-04-10  2:43:51 0 [Note] WSREP: mon: entered 11 oooe fraction 0 oool fraction 0
2022-04-10  2:43:51 0 [Note] WSREP: mon: entered 14 oooe fraction 0 oool fraction 0
2022-04-10  2:43:51 0 [Note] WSREP: cert index usage at exit 1
2022-04-10  2:43:51 0 [Note] WSREP: cert trx map usage at exit 11
2022-04-10  2:43:51 0 [Note] WSREP: deps set usage at exit 0
2022-04-10  2:43:51 0 [Note] WSREP: avg deps dist 1
2022-04-10  2:43:51 0 [Note] WSREP: avg cert interval 0
2022-04-10  2:43:51 0 [Note] WSREP: cert index size 1
2022-04-10  2:43:51 0 [Note] WSREP: Service thread queue flushed.
2022-04-10  2:43:51 0 [Note] WSREP: wsdb trx map usage 0 conn query map usage 0
2022-04-10  2:43:51 0 [Note] WSREP: MemPool(LocalTrxHandle): hit ratio: 0.909091, misses: 1, in use: 0, in pool: 1
2022-04-10  2:43:51 0 [Note] WSREP: Flushing memory map to disk...
2022-04-10  2:43:53 0 [Note] InnoDB: FTS optimize thread exiting.
2022-04-10  2:43:53 0 [Note] InnoDB: Starting shutdown...
2022-04-10  2:43:53 0 [Note] InnoDB: Dumping buffer pool(s) to /bitnami/mariadb/data/ib_buffer_pool
2022-04-10  2:43:53 0 [Note] InnoDB: Buffer pool(s) dump completed at 220410  2:43:53
2022-04-10  2:43:54 0 [Note] InnoDB: Shutdown completed; log sequence number 67995; transaction id 43
2022-04-10  2:43:54 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2022-04-10  2:43:54 0 [Note] /opt/bitnami/mariadb/sbin/mysqld: Shutdown complete

mariadb 02:43:55.30 INFO  ==> ** MariaDB setup finished! **

mariadb 02:43:55.41 INFO  ==> ** Starting MariaDB **
mariadb 02:43:55.42 INFO  ==> Setting previous boot
2022-04-10  2:43:55 0 [Warning] WSREP: option --wsrep-causal-reads is deprecated
2022-04-10  2:43:55 0 [Warning] WSREP: --wsrep-causal-reads=ON takes precedence over --wsrep-sync-wait=0. WSREP_SYNC_WAIT_BEFORE_READ is on
2022-04-10  2:43:55 0 [Note] /opt/bitnami/mariadb/sbin/mysqld (mysqld 10.5.8-MariaDB-log) starting as process 1 ...
2022-04-10  2:43:55 0 [Note] WSREP: Loading provider /opt/bitnami/mariadb/lib/libgalera_smm.so initial position: 00000000-0000-0000-0000-000000000000:-1
2022-04-10  2:43:55 0 [Note] WSREP: wsrep_load(): loading provider library '/opt/bitnami/mariadb/lib/libgalera_smm.so'
2022-04-10  2:43:55 0 [Note] WSREP: wsrep_load(): Galera 4.7(rXXXX) by Codership Oy  loaded successfully.
2022-04-10  2:43:55 0 [Note] WSREP: CRC-32C: using 64-bit x86 acceleration.
2022-04-10  2:43:55 0 [Note] WSREP: Found saved state: 0737dde7-b878-11ec-b743-a667e203f25f:12, safe_to_bootstrap: 1
2022-04-10  2:43:55 0 [Note] WSREP: GCache DEBUG: opened preamble:
Version: 2
UUID: 0737dde7-b878-11ec-b743-a667e203f25f
Seqno: 1 - 12
Offset: 1280
Synced: 1
2022-04-10  2:43:55 0 [Note] WSREP: Recovering GCache ring buffer: version: 2, UUID: 0737dde7-b878-11ec-b743-a667e203f25f, offset: 1280
2022-04-10  2:43:55 0 [Note] WSREP: GCache::RingBuffer initial scan...  0.0% (        0/134217752 bytes) complete.
2022-04-10  2:43:55 0 [Note] WSREP: GCache::RingBuffer initial scan...100.0% (134217752/134217752 bytes) complete.
2022-04-10  2:43:55 0 [Note] WSREP: Recovering GCache ring buffer: found gapless sequence 1-12
2022-04-10  2:43:55 0 [Note] WSREP: GCache::RingBuffer unused buffers scan...  0.0% (   0/5848 bytes) complete.
2022-04-10  2:43:55 0 [Note] WSREP: GCache::RingBuffer unused buffers scan...100.0% (5848/5848 bytes) complete.
2022-04-10  2:43:55 0 [Note] WSREP: GCache DEBUG: RingBuffer::recover(): found 0/12 locked buffers
2022-04-10  2:43:55 0 [Note] WSREP: GCache DEBUG: RingBuffer::recover(): free space: 134211880/134217728
2022-04-10  2:43:55 0 [Note] WSREP: Passing config to GCS: base_dir = /bitnami/mariadb/data/; base_host = 10.233.72.160; base_port = 4567; cert.log_conflicts = no; cert.optimistic_pa = yes; debug = no; evs.auto_evict = 0; evs.delay_margin = PT1S; evs.delayed_keep_period = PT30S; evs.inactive_check_period = PT0.5S; evs.inactive_timeout = PT15S; evs.join_retrans_period = PT1S; evs.max_install_timeouts = 3; evs.send_window = 4; evs.stats_report_period = PT1M; evs.suspect_timeout = PT5S; evs.user_send_window = 2; evs.view_forget_timeout = PT24H; gcache.dir = /bitnami/mariadb/data/; gcache.keep_pages_size = 0; gcache.mem_size = 0; gcache.name = galera.cache; gcache.page_size = 128M; gcache.recover = yes; gcache.size = 128M; gcomm.thread_prio = ; gcs.fc_debug = 0; gcs.fc_factor = 1.0; gcs.fc_limit = 16; gcs.fc_master_slave = no; gcs.max_packet_size = 64500; gcs.max_throttle = 0.25; gcs.recv_q_hard_limit = 9223372036854775807; gcs.recv_q_soft_limit = 0.25; gcs.sync_donor = no; gmcast.segment = 0; gmcast.version = 0; pc.announce_timeout = PT3S;
2022-04-10  2:43:55 0 [Note] WSREP: Service thread queue flushed.
2022-04-10  2:43:55 0 [Note] WSREP: ####### Assign initial position for certification: 0737dde7-b878-11ec-b743-a667e203f25f:12, protocol version: -1
2022-04-10  2:43:55 0 [Note] WSREP: Start replication
2022-04-10  2:43:55 0 [Note] WSREP: Connecting with bootstrap option: 1
2022-04-10  2:43:55 0 [Note] WSREP: Setting GCS initial position to 0737dde7-b878-11ec-b743-a667e203f25f:12
2022-04-10  2:43:55 0 [Note] WSREP: protonet asio version 0
2022-04-10  2:43:55 0 [Note] WSREP: Using CRC-32C for message checksums.
2022-04-10  2:43:55 0 [Note] WSREP: backend: asio
2022-04-10  2:43:55 0 [Note] WSREP: gcomm thread scheduling priority set to other:0 
2022-04-10  2:43:55 0 [Warning] WSREP: access file(/bitnami/mariadb/data//gvwstate.dat) failed(No such file or directory)
2022-04-10  2:43:55 0 [Note] WSREP: restore pc from disk failed
2022-04-10  2:43:55 0 [Note] WSREP: GMCast version 0
2022-04-10  2:43:55 0 [Note] WSREP: (1096a3e3-b660, 'tcp://0.0.0.0:4567') listening at tcp://0.0.0.0:4567
2022-04-10  2:43:55 0 [Note] WSREP: (1096a3e3-b660, 'tcp://0.0.0.0:4567') multicast: , ttl: 1
2022-04-10  2:43:55 0 [Note] WSREP: EVS version 1
2022-04-10  2:43:55 0 [Note] WSREP: gcomm: bootstrapping new group 'galera'
2022-04-10  2:43:55 0 [Note] WSREP: start_prim is enabled, turn off pc_recovery
2022-04-10  2:43:55 0 [Note] WSREP: EVS version upgrade 0 -> 1
2022-04-10  2:43:55 0 [Note] WSREP: PC protocol upgrade 0 -> 1
2022-04-10  2:43:55 0 [Note] WSREP: Node 1096a3e3-b660 state prim
2022-04-10  2:43:55 0 [Note] WSREP: view(view_id(PRIM,1096a3e3-b660,1) memb {
	1096a3e3-b660,0
} joined {
} left {
} partitioned {
})
2022-04-10  2:43:55 0 [Note] WSREP: save pc into disk
2022-04-10  2:43:55 0 [Note] WSREP: gcomm: connected
2022-04-10  2:43:55 0 [Note] WSREP: Changing maximum packet size to 64500, resulting msg size: 32636
2022-04-10  2:43:55 0 [Note] WSREP: Shifting CLOSED -> OPEN (TO: 0)
2022-04-10  2:43:55 0 [Note] WSREP: Opened channel 'galera'
2022-04-10  2:43:55 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 1
2022-04-10  2:43:55 1 [Note] WSREP: Starting rollbacker thread 1
2022-04-10  2:43:55 2 [Note] WSREP: Starting applier thread 2
2022-04-10  2:43:55 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 1097ceca-b878-11ec-a58f-b3de1090f1db
2022-04-10  2:43:55 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 1097ceca-b878-11ec-a58f-b3de1090f1db
2022-04-10  2:43:55 0 [Note] WSREP: STATE EXCHANGE: got state msg: 1097ceca-b878-11ec-a58f-b3de1090f1db from 0 (onap-mariadb-galera-0)
2022-04-10  2:43:55 0 [Note] WSREP: Quorum results:
	version    = 6,
	component  = PRIMARY,
	conf_id    = 0,
	members    = 1/1 (joined/total),
	act_id     = 12,
	last_appl. = 12,
	protocols  = 2/10/4 (gcs/repl/appl),
	vote policy= 0,
	group UUID = 0737dde7-b878-11ec-b743-a667e203f25f
2022-04-10  2:43:55 0 [Note] WSREP: Flow-control interval: [16, 16]
2022-04-10  2:43:55 0 [Note] WSREP: Restored state OPEN -> JOINED (13)
2022-04-10  2:43:55 0 [Note] WSREP: Member 0.0 (onap-mariadb-galera-0) synced with group.
2022-04-10  2:43:55 0 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 13)
2022-04-10  2:43:55 2 [Note] WSREP: ####### processing CC 13, local, ordered
2022-04-10  2:43:55 2 [Note] WSREP: Process first view: 0737dde7-b878-11ec-b743-a667e203f25f my uuid: 1096a3e3-b878-11ec-b660-0f6408ce73ca
2022-04-10  2:43:55 2 [Note] WSREP: Server onap-mariadb-galera-0 connected to cluster at position 0737dde7-b878-11ec-b743-a667e203f25f:13 with ID 1096a3e3-b878-11ec-b660-0f6408ce73ca
2022-04-10  2:43:55 2 [Note] WSREP: Server status change disconnected -> connected
2022-04-10  2:43:55 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  2:43:55 2 [Note] WSREP: ####### My UUID: 1096a3e3-b878-11ec-b660-0f6408ce73ca
2022-04-10  2:43:55 2 [Note] WSREP: Cert index reset to 00000000-0000-0000-0000-000000000000:-1 (proto: 10), state transfer needed: no
2022-04-10  2:43:55 0 [Note] WSREP: Service thread queue flushed.
2022-04-10  2:43:55 2 [Note] WSREP: ####### Assign initial position for certification: 00000000-0000-0000-0000-000000000000:-1, protocol version: -1
2022-04-10  2:43:55 2 [Note] WSREP: REPL Protocols: 10 (5)
2022-04-10  2:43:55 2 [Note] WSREP: ####### Adjusting cert position: -1 -> 13
2022-04-10  2:43:55 0 [Note] WSREP: Service thread queue flushed.
2022-04-10  2:43:55 2 [Note] WSREP: ================================================
View:
  id: 0737dde7-b878-11ec-b743-a667e203f25f:13
  status: primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(1):
	0: 1096a3e3-b878-11ec-b660-0f6408ce73ca, onap-mariadb-galera-0
=================================================
2022-04-10  2:43:55 2 [Note] WSREP: Server status change connected -> joiner
2022-04-10  2:43:55 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  2:43:55 2 [Note] WSREP: Server status change joiner -> initializing
2022-04-10  2:43:55 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  2:43:55 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
2022-04-10  2:43:55 0 [Warning] The parameter innodb_log_files_in_group is deprecated and has no effect.
2022-04-10  2:43:55 0 [Note] InnoDB: Using Linux native AIO
2022-04-10  2:43:55 0 [Note] InnoDB: Uses event mutexes
2022-04-10  2:43:55 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-04-10  2:43:55 0 [Note] InnoDB: Number of pools: 1
2022-04-10  2:43:55 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2022-04-10  2:43:55 0 [Note] mysqld: O_TMPFILE is not supported on /opt/bitnami/mariadb/tmp (disabling future attempts)
2022-04-10  2:43:55 0 [Note] InnoDB: Initializing buffer pool, total size = 2147483648, chunk size = 134217728
2022-04-10  2:43:55 0 [Note] InnoDB: Completed initialization of buffer pool
2022-04-10  2:43:55 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2022-04-10  2:43:56 0 [Note] InnoDB: 128 rollback segments are active.
2022-04-10  2:43:56 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-04-10  2:43:56 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-04-10  2:43:59 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2022-04-10  2:43:59 0 [Note] InnoDB: 10.5.8 started; log sequence number 67995; transaction id 44
2022-04-10  2:43:59 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-04-10  2:43:59 0 [Note] InnoDB: Loading buffer pool(s) from /bitnami/mariadb/data/ib_buffer_pool
/opt/bitnami/mariadb/sbin/mysqld, Version: 10.5.8-MariaDB-log (Source distribution). started with:
Tcp port: 3306  Unix socket: /opt/bitnami/mariadb/tmp/mysql.sock
Time		    Id Command	Argument
2022-04-10  2:43:59 0 [Note] InnoDB: Buffer pool(s) load completed at 220410  2:43:59
2022-04-10  2:43:59 0 [Note] Server socket created on IP: '0.0.0.0'.
2022-04-10  2:43:59 0 [Warning] 'proxies_priv' entry '@% root@onap-mariadb-galera-0' ignored in --skip-name-resolve mode.
2022-04-10  2:43:59 0 [Note] WSREP: wsrep_init_schema_and_SR 0x0
2022-04-10  2:43:59 0 [Note] WSREP: Server initialized
2022-04-10  2:43:59 0 [Note] WSREP: Server status change initializing -> initialized
2022-04-10  2:43:59 0 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  2:43:59 2 [Note] WSREP: Bootstrapping a new cluster, setting initial position to 00000000-0000-0000-0000-000000000000:-1
2022-04-10  2:43:59 7 [Note] WSREP: Starting applier thread 7
2022-04-10  2:43:59 9 [Note] WSREP: Starting applier thread 9
2022-04-10  2:43:59 6 [Note] WSREP: Starting applier thread 6
2022-04-10  2:43:59 5 [Note] WSREP: Recovered cluster id 0737dde7-b878-11ec-b743-a667e203f25f
2022-04-10  2:43:59 0 [Note] Reading of all Master_info entries succeeded
2022-04-10  2:43:59 0 [Note] Added new Master_info '' to hash table
2022-04-10  2:43:59 0 [Note] /opt/bitnami/mariadb/sbin/mysqld: ready for connections.
Version: '10.5.8-MariaDB-log'  socket: '/opt/bitnami/mariadb/tmp/mysql.sock'  port: 3306  Source distribution
2022-04-10  2:43:59 2 [Note] WSREP: Server status change initialized -> joined
2022-04-10  2:43:59 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  2:43:59 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  2:43:59 2 [Note] WSREP: Lowest cert index boundary for CC from group: 13
2022-04-10  2:43:59 2 [Note] WSREP: Min available from gcache for CC from group: 1
2022-04-10  2:43:59 2 [Note] WSREP: Server onap-mariadb-galera-0 synced with group
2022-04-10  2:43:59 2 [Note] WSREP: Server status change joined -> synced
2022-04-10  2:43:59 2 [Note] WSREP: Synchronized with group, ready for connections
2022-04-10  2:43:59 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
# Time: 220410  2:44:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 11  Schema:   QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000388  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558640;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 11  Schema:   QC_hit: No
# Query_time: 0.000678  Lock_time: 0.000469  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558640;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:44:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 13  Schema:   QC_hit: No
# Query_time: 0.001500  Lock_time: 0.001329  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558645;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 13  Schema:   QC_hit: No
# Query_time: 0.000491  Lock_time: 0.000277  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558645;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 12  Schema:   QC_hit: No
# Query_time: 0.002623  Lock_time: 0.002462  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558645;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 12  Schema:   QC_hit: No
# Query_time: 0.000924  Lock_time: 0.000740  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558645;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:44:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 17  Schema:   QC_hit: No
# Query_time: 0.000529  Lock_time: 0.000389  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558655;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 16  Schema:   QC_hit: No
# Query_time: 0.000606  Lock_time: 0.000393  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558655;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 17  Schema:   QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000299  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558655;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 16  Schema:   QC_hit: No
# Query_time: 0.000480  Lock_time: 0.000299  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558655;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2022-04-10  2:44:18 0 [Note] WSREP: (1096a3e3-b660, 'tcp://0.0.0.0:4567') connection established to 1e3d9f2a-b977 tcp://10.233.70.202:4567
2022-04-10  2:44:18 0 [Note] WSREP: (1096a3e3-b660, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: 
2022-04-10  2:44:19 0 [Note] WSREP: declaring 1e3d9f2a-b977 at tcp://10.233.70.202:4567 stable
2022-04-10  2:44:19 0 [Note] WSREP: Node 1096a3e3-b660 state prim
2022-04-10  2:44:19 0 [Note] WSREP: view(view_id(PRIM,1096a3e3-b660,2) memb {
	1096a3e3-b660,0
	1e3d9f2a-b977,0
} joined {
} left {
} partitioned {
})
2022-04-10  2:44:19 0 [Note] WSREP: save pc into disk
2022-04-10  2:44:19 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 2
2022-04-10  2:44:19 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 1ecfd469-b878-11ec-ad19-a35df1e4f349
2022-04-10  2:44:19 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 1ecfd469-b878-11ec-ad19-a35df1e4f349
2022-04-10  2:44:19 0 [Note] WSREP: STATE EXCHANGE: got state msg: 1ecfd469-b878-11ec-ad19-a35df1e4f349 from 0 (onap-mariadb-galera-0)
2022-04-10  2:44:19 0 [Note] WSREP: STATE EXCHANGE: got state msg: 1ecfd469-b878-11ec-ad19-a35df1e4f349 from 1 (onap-mariadb-galera-1)
2022-04-10  2:44:19 0 [Note] WSREP: Quorum results:
	version    = 6,
	component  = PRIMARY,
	conf_id    = 1,
	members    = 1/2 (joined/total),
	act_id     = 13,
	last_appl. = 12,
	protocols  = 2/10/4 (gcs/repl/appl),
	vote policy= 0,
	group UUID = 0737dde7-b878-11ec-b743-a667e203f25f
2022-04-10  2:44:19 0 [Note] WSREP: Flow-control interval: [23, 23]
2022-04-10  2:44:19 2 [Note] WSREP: ####### processing CC 14, local, ordered
2022-04-10  2:44:19 2 [Note] WSREP: ####### My UUID: 1096a3e3-b878-11ec-b660-0f6408ce73ca
2022-04-10  2:44:19 2 [Note] WSREP: Skipping cert index reset
2022-04-10  2:44:19 2 [Note] WSREP: REPL Protocols: 10 (5)
2022-04-10  2:44:19 2 [Note] WSREP: ####### Adjusting cert position: 13 -> 14
2022-04-10  2:44:19 0 [Note] WSREP: Service thread queue flushed.
2022-04-10  2:44:19 2 [Note] WSREP: ================================================
View:
  id: 0737dde7-b878-11ec-b743-a667e203f25f:14
  status: primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(2):
	0: 1096a3e3-b878-11ec-b660-0f6408ce73ca, onap-mariadb-galera-0
	1: 1e3d9f2a-b878-11ec-b977-9a534b39686e, onap-mariadb-galera-1
=================================================
2022-04-10  2:44:19 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  2:44:19 2 [Note] WSREP: Lowest cert index boundary for CC from group: 14
2022-04-10  2:44:19 2 [Note] WSREP: Min available from gcache for CC from group: 1
2022-04-10  2:44:22 0 [Note] WSREP: (1096a3e3-b660, 'tcp://0.0.0.0:4567') turning message relay requesting off
2022-04-10  2:44:22 0 [Note] WSREP: Member 1.0 (onap-mariadb-galera-1) requested state transfer from '*any*'. Selected 0.0 (onap-mariadb-galera-0)(SYNCED) as donor.
2022-04-10  2:44:22 0 [Note] WSREP: Shifting SYNCED -> DONOR/DESYNCED (TO: 14)
2022-04-10  2:44:22 2 [Note] WSREP: Detected STR version: 1, req_len: 131, req: STRv1
2022-04-10  2:44:22 2 [Note] WSREP: Cert index preload: 14 -> 14
2022-04-10  2:44:22 2 [Note] WSREP: Server status change synced -> donor
2022-04-10  2:44:22 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  2:44:22 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  2:44:22 0 [Note] WSREP: async IST sender starting to serve tcp://10.233.70.202:4568 sending 14-14, preload starts from 14
2022-04-10  2:44:22 0 [Note] WSREP: Donor monitor thread started to monitor
2022-04-10  2:44:22 0 [Note] WSREP: Running: 'wsrep_sst_mariabackup --role 'donor' --address '10.233.70.202:4444/xtrabackup_sst//1' --socket '/opt/bitnami/mariadb/tmp/mysql.sock' --datadir '/bitnami/mariadb/data/' --defaults-file '/opt/bitnami/mariadb/conf/my.cnf' --gtid '0737dde7-b878-11ec-b743-a667e203f25f:14' --gtid-domain-id '0' --binlog 'mysql-bin' --mysqld-args --defaults-file=/opt/bitnami/mariadb/conf/my.cnf --basedir=/opt/bitnami/mariadb --datadir=/bitnami/mariadb/data --socket=/opt/bitnami/mariadb/tmp/mysql.sock --pid-file=/opt/bitnami/mariadb/tmp/mysqld.pid'
2022-04-10  2:44:22 0 [Note] WSREP: IST sender 14 -> 14
2022-04-10  2:44:22 2 [Note] WSREP: sst_donor_thread signaled with 0
WSREP_SST: [INFO] Streaming with xbstream (20220410 02:44:23.597)
WSREP_SST: [INFO] Using socat as streamer (20220410 02:44:23.609)
WSREP_SST: [INFO] Using /tmp/tmp.5LINmEf0MQ as innobackupex temporary directory (20220410 02:44:23.644)
WSREP_SST: [INFO] Streaming GTID file before SST (20220410 02:44:23.654)
WSREP_SST: [INFO] Evaluating mbstream -c ${INFO_FILE} | socat -u stdio TCP:10.233.70.202:4444; RC=( ${PIPESTATUS[@]} ) (20220410 02:44:23.672)
WSREP_SST: [INFO] Sleeping before data transfer for SST (20220410 02:44:23.698)
# Time: 220410  2:44:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 21  Schema:   QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000243  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558665;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 21  Schema:   QC_hit: No
# Query_time: 0.004222  Lock_time: 0.004049  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558665;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 20  Schema:   QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000308  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558665;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 20  Schema:   QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000239  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558665;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:44:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 24  Schema:   QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000273  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558670;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 24  Schema:   QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000302  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558670;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
WSREP_SST: [INFO] Streaming the backup to joiner at 10.233.70.202 4444 (20220410 02:44:33.710)
WSREP_SST: [INFO] Evaluating /opt/bitnami/mariadb//bin/mariabackup --defaults-file=/opt/bitnami/mariadb/conf/my.cnf   --backup --no-version-check  --databases-exclude="lost+found" $tmpopts $INNOEXTRA --galera-info --stream=$sfmt --target-dir=$itmpdir --mysqld-args $WSREP_SST_OPT_MYSQLD 2> /bitnami/mariadb/data//mariabackup.backup.log | socat -u stdio TCP:10.233.70.202:4444; RC=( ${PIPESTATUS[@]} ) (20220410 02:44:33.725)
# Time: 220410  2:44:33
# User@Host: mariabackup[mariabackup] @ localhost []
# Thread_id: 25  Schema:   QC_hit: No
# Query_time: 0.002576  Lock_time: 0.001372  Rows_sent: 0  Rows_examined: 71
# Rows_affected: 0  Bytes_sent: 227
SET timestamp=1649558673;
SELECT plugin_name, plugin_library, @@plugin_dir FROM information_schema.plugins WHERE plugin_type='ENCRYPTION' AND plugin_status='ACTIVE';
# Time: 220410  2:44:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 26  Schema:   QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558675;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 27  Schema:   QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000267  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558675;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 27  Schema:   QC_hit: No
# Query_time: 0.000670  Lock_time: 0.000608  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558675;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 26  Schema:   QC_hit: No
# Query_time: 0.000561  Lock_time: 0.000329  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558675;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: mariabackup[mariabackup] @ localhost []
# Thread_id: 25  Schema:   QC_hit: No
# Query_time: 0.001540  Lock_time: 0.000175  Rows_sent: 1  Rows_examined: 71
# Rows_affected: 0  Bytes_sent: 63
SET timestamp=1649558675;
SELECT COUNT(*) FROM information_schema.plugins WHERE plugin_name='rocksdb';
2022-04-10  2:44:36 0 [Note] WSREP: SST sent: 0737dde7-b878-11ec-b743-a667e203f25f:14
2022-04-10  2:44:36 0 [Note] WSREP: Server status change donor -> joined
2022-04-10  2:44:36 0 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  2:44:36 0 [Note] WSREP: 0.0 (onap-mariadb-galera-0): State transfer to 1.0 (onap-mariadb-galera-1) complete.
2022-04-10  2:44:36 0 [Note] WSREP: Shifting DONOR/DESYNCED -> JOINED (TO: 14)
2022-04-10  2:44:36 0 [Note] WSREP: Member 0.0 (onap-mariadb-galera-0) synced with group.
2022-04-10  2:44:36 0 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 14)
2022-04-10  2:44:36 6 [Note] WSREP: Server onap-mariadb-galera-0 synced with group
2022-04-10  2:44:36 6 [Note] WSREP: Server status change joined -> synced
2022-04-10  2:44:36 6 [Note] WSREP: Synchronized with group, ready for connections
2022-04-10  2:44:36 6 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
WSREP_SST: [INFO] Total time on donor: 0 seconds (20220410 02:44:36.372)
WSREP_SST: [INFO] Cleaning up temporary directories (20220410 02:44:36.389)
2022-04-10  2:44:36 0 [Note] WSREP: Donor monitor thread ended with total time 14 sec
2022-04-10  2:44:41 0 [Note] WSREP: async IST sender served
2022-04-10  2:44:41 0 [Note] WSREP: 1.0 (onap-mariadb-galera-1): State transfer from 0.0 (onap-mariadb-galera-0) complete.
2022-04-10  2:44:41 0 [Note] WSREP: Member 1.0 (onap-mariadb-galera-1) synced with group.
# Time: 220410  2:44:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 31  Schema:   QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558685;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 31  Schema:   QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000372  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558685;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 30  Schema:   QC_hit: No
# Query_time: 0.000591  Lock_time: 0.000324  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558685;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 30  Schema:   QC_hit: No
# Query_time: 0.000555  Lock_time: 0.000451  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558685;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:44:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 34  Schema:   QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000221  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558695;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 35  Schema:   QC_hit: No
# Query_time: 0.003489  Lock_time: 0.003372  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558695;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 35  Schema:   QC_hit: No
# Query_time: 0.000939  Lock_time: 0.000728  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558695;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 34  Schema:   QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000268  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558695;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:45:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 38  Schema:   QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000395  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558700;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 38  Schema:   QC_hit: No
# Query_time: 0.001207  Lock_time: 0.001112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558700;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:45:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 39  Schema:   QC_hit: No
# Query_time: 0.000753  Lock_time: 0.000623  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558705;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 40  Schema:   QC_hit: No
# Query_time: 0.000516  Lock_time: 0.000299  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558705;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 39  Schema:   QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000267  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558705;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 40  Schema:   QC_hit: No
# Query_time: 0.001178  Lock_time: 0.000945  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558705;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2022-04-10  2:45:08 0 [Note] WSREP: (1096a3e3-b660, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: tcp://10.233.71.37:4567 
2022-04-10  2:45:08 0 [Note] WSREP: (1096a3e3-b660, 'tcp://0.0.0.0:4567') connection established to 3c1f6c0f-8990 tcp://10.233.71.37:4567
2022-04-10  2:45:08 0 [Note] WSREP: declaring 1e3d9f2a-b977 at tcp://10.233.70.202:4567 stable
2022-04-10  2:45:08 0 [Note] WSREP: declaring 3c1f6c0f-8990 at tcp://10.233.71.37:4567 stable
2022-04-10  2:45:08 0 [Note] WSREP: Node 1096a3e3-b660 state prim
2022-04-10  2:45:08 0 [Note] WSREP: view(view_id(PRIM,1096a3e3-b660,3) memb {
	1096a3e3-b660,0
	1e3d9f2a-b977,0
	3c1f6c0f-8990,0
} joined {
} left {
} partitioned {
})
2022-04-10  2:45:08 0 [Note] WSREP: save pc into disk
2022-04-10  2:45:08 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 3
2022-04-10  2:45:08 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 3c3bb495-b878-11ec-85bc-726678648173
2022-04-10  2:45:08 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 3c3bb495-b878-11ec-85bc-726678648173
2022-04-10  2:45:08 0 [Note] WSREP: STATE EXCHANGE: got state msg: 3c3bb495-b878-11ec-85bc-726678648173 from 0 (onap-mariadb-galera-0)
2022-04-10  2:45:08 0 [Note] WSREP: STATE EXCHANGE: got state msg: 3c3bb495-b878-11ec-85bc-726678648173 from 1 (onap-mariadb-galera-1)
2022-04-10  2:45:09 0 [Note] WSREP: STATE EXCHANGE: got state msg: 3c3bb495-b878-11ec-85bc-726678648173 from 2 (onap-mariadb-galera-2)
2022-04-10  2:45:09 0 [Note] WSREP: Quorum results:
	version    = 6,
	component  = PRIMARY,
	conf_id    = 2,
	members    = 2/3 (joined/total),
	act_id     = 14,
	last_appl. = 12,
	protocols  = 2/10/4 (gcs/repl/appl),
	vote policy= 0,
	group UUID = 0737dde7-b878-11ec-b743-a667e203f25f
2022-04-10  2:45:09 0 [Note] WSREP: Flow-control interval: [28, 28]
2022-04-10  2:45:09 9 [Note] WSREP: ####### processing CC 15, local, ordered
2022-04-10  2:45:09 9 [Note] WSREP: ####### My UUID: 1096a3e3-b878-11ec-b660-0f6408ce73ca
2022-04-10  2:45:09 9 [Note] WSREP: Skipping cert index reset
2022-04-10  2:45:09 9 [Note] WSREP: REPL Protocols: 10 (5)
2022-04-10  2:45:09 9 [Note] WSREP: ####### Adjusting cert position: 14 -> 15
2022-04-10  2:45:09 0 [Note] WSREP: Service thread queue flushed.
2022-04-10  2:45:09 9 [Note] WSREP: ================================================
View:
  id: 0737dde7-b878-11ec-b743-a667e203f25f:15
  status: primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(3):
	0: 1096a3e3-b878-11ec-b660-0f6408ce73ca, onap-mariadb-galera-0
	1: 1e3d9f2a-b878-11ec-b977-9a534b39686e, onap-mariadb-galera-1
	2: 3c1f6c0f-b878-11ec-8990-fb16e4251177, onap-mariadb-galera-2
=================================================
2022-04-10  2:45:09 9 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  2:45:09 9 [Note] WSREP: Lowest cert index boundary for CC from group: 15
2022-04-10  2:45:09 9 [Note] WSREP: Min available from gcache for CC from group: 1
2022-04-10  2:45:11 0 [Note] WSREP: (1096a3e3-b660, 'tcp://0.0.0.0:4567') turning message relay requesting off
2022-04-10  2:45:13 0 [Note] WSREP: Member 2.0 (onap-mariadb-galera-2) requested state transfer from '*any*'. Selected 0.0 (onap-mariadb-galera-0)(SYNCED) as donor.
2022-04-10  2:45:13 0 [Note] WSREP: Shifting SYNCED -> DONOR/DESYNCED (TO: 15)
2022-04-10  2:45:13 9 [Note] WSREP: Detected STR version: 1, req_len: 129, req: STRv1
2022-04-10  2:45:13 9 [Note] WSREP: Cert index preload: 15 -> 15
2022-04-10  2:45:13 9 [Note] WSREP: Server status change synced -> donor
2022-04-10  2:45:13 9 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  2:45:13 0 [Note] WSREP: async IST sender starting to serve tcp://10.233.71.37:4568 sending 15-15, preload starts from 15
2022-04-10  2:45:13 9 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  2:45:13 0 [Note] WSREP: Donor monitor thread started to monitor
2022-04-10  2:45:13 0 [Note] WSREP: Running: 'wsrep_sst_mariabackup --role 'donor' --address '10.233.71.37:4444/xtrabackup_sst//1' --socket '/opt/bitnami/mariadb/tmp/mysql.sock' --datadir '/bitnami/mariadb/data/' --defaults-file '/opt/bitnami/mariadb/conf/my.cnf' --gtid '0737dde7-b878-11ec-b743-a667e203f25f:15' --gtid-domain-id '0' --binlog 'mysql-bin' --mysqld-args --defaults-file=/opt/bitnami/mariadb/conf/my.cnf --basedir=/opt/bitnami/mariadb --datadir=/bitnami/mariadb/data --socket=/opt/bitnami/mariadb/tmp/mysql.sock --pid-file=/opt/bitnami/mariadb/tmp/mysqld.pid'
2022-04-10  2:45:13 0 [Note] WSREP: IST sender 15 -> 15
2022-04-10  2:45:13 9 [Note] WSREP: sst_donor_thread signaled with 0
WSREP_SST: [INFO] Moving /bitnami/mariadb/data//mariabackup.backup.log to /tmp/sst_log_archive/mariabackup.backup.log.2022.04.10-02.45.14.515776361 (20220410 02:45:14.531)
WSREP_SST: [INFO] Streaming with xbstream (20220410 02:45:14.564)
WSREP_SST: [INFO] Using socat as streamer (20220410 02:45:14.575)
WSREP_SST: [INFO] Using /tmp/tmp.xeQHkG1BrN as innobackupex temporary directory (20220410 02:45:14.617)
WSREP_SST: [INFO] Streaming GTID file before SST (20220410 02:45:14.630)
WSREP_SST: [INFO] Evaluating mbstream -c ${INFO_FILE} | socat -u stdio TCP:10.233.71.37:4444; RC=( ${PIPESTATUS[@]} ) (20220410 02:45:14.647)
WSREP_SST: [INFO] Sleeping before data transfer for SST (20220410 02:45:14.686)
# Time: 220410  2:45:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 43  Schema:   QC_hit: No
# Query_time: 0.000720  Lock_time: 0.000616  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558715;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 43  Schema:   QC_hit: No
# Query_time: 0.000649  Lock_time: 0.000464  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558715;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 44  Schema:   QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000426  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558715;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 44  Schema:   QC_hit: No
# Query_time: 0.000565  Lock_time: 0.000484  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558715;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
WSREP_SST: [INFO] Streaming the backup to joiner at 10.233.71.37 4444 (20220410 02:45:24.699)
WSREP_SST: [INFO] Evaluating /opt/bitnami/mariadb//bin/mariabackup --defaults-file=/opt/bitnami/mariadb/conf/my.cnf   --backup --no-version-check  --databases-exclude="lost+found" $tmpopts $INNOEXTRA --galera-info --stream=$sfmt --target-dir=$itmpdir --mysqld-args $WSREP_SST_OPT_MYSQLD 2> /bitnami/mariadb/data//mariabackup.backup.log | socat -u stdio TCP:10.233.71.37:4444; RC=( ${PIPESTATUS[@]} ) (20220410 02:45:24.709)
# Time: 220410  2:45:24
# User@Host: mariabackup[mariabackup] @ localhost []
# Thread_id: 47  Schema:   QC_hit: No
# Query_time: 0.003455  Lock_time: 0.001830  Rows_sent: 0  Rows_examined: 71
# Rows_affected: 0  Bytes_sent: 227
SET timestamp=1649558724;
SELECT plugin_name, plugin_library, @@plugin_dir FROM information_schema.plugins WHERE plugin_type='ENCRYPTION' AND plugin_status='ACTIVE';
# Time: 220410  2:45:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 49  Schema:   QC_hit: No
# Query_time: 0.002263  Lock_time: 0.002062  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558725;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 49  Schema:   QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000325  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558725;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 48  Schema:   QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558725;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 48  Schema:   QC_hit: No
# Query_time: 0.001887  Lock_time: 0.001741  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558725;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:45:26
# User@Host: mariabackup[mariabackup] @ localhost []
# Thread_id: 47  Schema:   QC_hit: No
# Query_time: 0.001700  Lock_time: 0.000211  Rows_sent: 1  Rows_examined: 71
# Rows_affected: 0  Bytes_sent: 63
SET timestamp=1649558726;
SELECT COUNT(*) FROM information_schema.plugins WHERE plugin_name='rocksdb';
2022-04-10  2:45:27 0 [Note] WSREP: SST sent: 0737dde7-b878-11ec-b743-a667e203f25f:15
2022-04-10  2:45:27 0 [Note] WSREP: Server status change donor -> joined
2022-04-10  2:45:27 0 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  2:45:27 0 [Note] WSREP: 0.0 (onap-mariadb-galera-0): State transfer to 2.0 (onap-mariadb-galera-2) complete.
2022-04-10  2:45:27 0 [Note] WSREP: Shifting DONOR/DESYNCED -> JOINED (TO: 15)
2022-04-10  2:45:27 0 [Note] WSREP: Member 0.0 (onap-mariadb-galera-0) synced with group.
2022-04-10  2:45:27 0 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 15)
2022-04-10  2:45:27 2 [Note] WSREP: Server onap-mariadb-galera-0 synced with group
2022-04-10  2:45:27 2 [Note] WSREP: Server status change joined -> synced
2022-04-10  2:45:27 2 [Note] WSREP: Synchronized with group, ready for connections
2022-04-10  2:45:27 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
WSREP_SST: [INFO] Total time on donor: 0 seconds (20220410 02:45:27.365)
WSREP_SST: [INFO] Cleaning up temporary directories (20220410 02:45:27.378)
2022-04-10  2:45:27 0 [Note] WSREP: Donor monitor thread ended with total time 14 sec
# Time: 220410  2:45:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 52  Schema:   QC_hit: No
# Query_time: 0.000551  Lock_time: 0.000407  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558730;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 52  Schema:   QC_hit: No
# Query_time: 0.000559  Lock_time: 0.000380  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558730;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:45:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 54  Schema:   QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000325  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558735;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 53  Schema:   QC_hit: No
# Query_time: 0.001189  Lock_time: 0.000399  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558735;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 54  Schema:   QC_hit: No
# Query_time: 0.008953  Lock_time: 0.008744  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558735;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 53  Schema:   QC_hit: No
# Query_time: 0.000519  Lock_time: 0.000363  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558735;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2022-04-10  2:45:35 0 [Note] WSREP: async IST sender served
2022-04-10  2:45:35 0 [Note] WSREP: 2.0 (onap-mariadb-galera-2): State transfer from 0.0 (onap-mariadb-galera-0) complete.
2022-04-10  2:45:35 0 [Note] WSREP: Member 2.0 (onap-mariadb-galera-2) synced with group.
# Time: 220410  2:45:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 58  Schema:   QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000310  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558745;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 57  Schema:   QC_hit: No
# Query_time: 0.001355  Lock_time: 0.001223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558745;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 57  Schema:   QC_hit: No
# Query_time: 0.000516  Lock_time: 0.000325  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558745;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 58  Schema:   QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000239  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558745;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:45:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 62  Schema:   QC_hit: No
# Query_time: 0.000472  Lock_time: 0.000319  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558755;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 63  Schema:   QC_hit: No
# Query_time: 0.001095  Lock_time: 0.000975  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558755;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 62  Schema:   QC_hit: No
# Query_time: 0.000571  Lock_time: 0.000483  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558755;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 63  Schema:   QC_hit: No
# Query_time: 0.003593  Lock_time: 0.003361  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558755;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:46:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 66  Schema:   QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558760;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 66  Schema:   QC_hit: No
# Query_time: 0.001100  Lock_time: 0.000949  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558760;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:46:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 67  Schema:   QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558765;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 68  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558765;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 68  Schema:   QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558765;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 67  Schema:   QC_hit: No
# Query_time: 0.000433  Lock_time: 0.000232  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558765;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:46:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 72  Schema:   QC_hit: No
# Query_time: 0.000506  Lock_time: 0.000328  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558775;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 71  Schema:   QC_hit: No
# Query_time: 0.000373  Lock_time: 0.000246  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558775;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 72  Schema:   QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558775;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 71  Schema:   QC_hit: No
# Query_time: 0.000519  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558775;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:46:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 76  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558785;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 76  Schema:   QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000237  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558785;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 75  Schema:   QC_hit: No
# Query_time: 0.000516  Lock_time: 0.000290  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558785;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 75  Schema:   QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000272  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558785;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:46:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 79  Schema:   QC_hit: No
# Query_time: 0.000433  Lock_time: 0.000325  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558790;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 79  Schema:   QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000205  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558790;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:46:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 80  Schema:   QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000201  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558795;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 80  Schema:   QC_hit: No
# Query_time: 0.000526  Lock_time: 0.000361  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558795;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 81  Schema:   QC_hit: No
# Query_time: 0.000387  Lock_time: 0.000299  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558795;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 81  Schema:   QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558795;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:46:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 85  Schema:   QC_hit: No
# Query_time: 0.000493  Lock_time: 0.000288  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558805;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 84  Schema:   QC_hit: No
# Query_time: 0.000706  Lock_time: 0.000546  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558805;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 85  Schema:   QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000271  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558805;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 84  Schema:   QC_hit: No
# Query_time: 0.000867  Lock_time: 0.000702  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558805;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:46:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 88  Schema:   QC_hit: No
# Query_time: 0.000526  Lock_time: 0.000343  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558815;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 88  Schema:   QC_hit: No
# Query_time: 0.000387  Lock_time: 0.000298  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558815;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 89  Schema:   QC_hit: No
# Query_time: 0.000636  Lock_time: 0.000347  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558815;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 89  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558815;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 220410  2:47:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 92  Schema:   QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000260  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558820;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 92  Schema:   QC_hit: No
# Query_time: 0.000451  Lock_time: 0.000280  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558820;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:47:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 93  Schema:   QC_hit: No
# Query_time: 0.000608  Lock_time: 0.000312  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558825;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 93  Schema:   QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558825;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 94  Schema:   QC_hit: No
# Query_time: 0.004252  Lock_time: 0.004078  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558825;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 94  Schema:   QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000263  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558825;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 220410  2:47:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 97  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558835;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 98  Schema:   QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558835;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 98  Schema:   QC_hit: No
# Query_time: 0.008564  Lock_time: 0.008393  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558835;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 97  Schema:   QC_hit: No
# Query_time: 0.000592  Lock_time: 0.000375  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558835;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:47:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 101  Schema:   QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000257  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558845;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 102  Schema:   QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558845;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 101  Schema:   QC_hit: No
# Query_time: 0.000828  Lock_time: 0.000747  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558845;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 102  Schema:   QC_hit: No
# Query_time: 0.000903  Lock_time: 0.000832  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558845;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:47:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 105  Schema:   QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000205  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558850;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 105  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558850;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:47:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 107  Schema:   QC_hit: No
# Query_time: 0.000701  Lock_time: 0.000368  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558855;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 106  Schema:   QC_hit: No
# Query_time: 0.000947  Lock_time: 0.000608  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558855;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 107  Schema:   QC_hit: No
# Query_time: 0.006699  Lock_time: 0.006464  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558855;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 106  Schema:   QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000269  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558855;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:47:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 111  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558865;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 110  Schema:   QC_hit: No
# Query_time: 0.003059  Lock_time: 0.002946  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558865;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 111  Schema:   QC_hit: No
# Query_time: 0.000544  Lock_time: 0.000390  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558865;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 110  Schema:   QC_hit: No
# Query_time: 0.001385  Lock_time: 0.001322  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558865;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:47:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 114  Schema:   QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000243  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558875;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 115  Schema:   QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000217  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558875;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 114  Schema:   QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558875;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 115  Schema:   QC_hit: No
# Query_time: 0.000458  Lock_time: 0.000287  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558875;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:48:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 118  Schema:   QC_hit: No
# Query_time: 0.000475  Lock_time: 0.000314  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558880;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 118  Schema:   QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558880;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:48:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 120  Schema:   QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000258  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558885;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 119  Schema:   QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558885;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 119  Schema:   QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000263  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558885;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 120  Schema:   QC_hit: No
# Query_time: 0.003435  Lock_time: 0.003225  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558885;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:48:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 124  Schema:   QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000230  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558895;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 123  Schema:   QC_hit: No
# Query_time: 0.000546  Lock_time: 0.000258  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558895;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 123  Schema:   QC_hit: No
# Query_time: 0.006106  Lock_time: 0.005983  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558895;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 124  Schema:   QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000230  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558895;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:48:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 128  Schema:   QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558905;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 127  Schema:   QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000321  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558905;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 127  Schema:   QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000300  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558905;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 128  Schema:   QC_hit: No
# Query_time: 0.000623  Lock_time: 0.000425  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558905;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:48:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 131  Schema:   QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558910;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 131  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558910;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:48:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 133  Schema:   QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000321  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558915;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 132  Schema:   QC_hit: No
# Query_time: 0.000629  Lock_time: 0.000445  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558915;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 132  Schema:   QC_hit: No
# Query_time: 0.006817  Lock_time: 0.006574  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558915;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 133  Schema:   QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558915;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:48:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 136  Schema:   QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000303  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558925;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 136  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558925;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 137  Schema:   QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000197  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558925;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 137  Schema:   QC_hit: No
# Query_time: 0.000633  Lock_time: 0.000435  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558925;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:48:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 141  Schema:   QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558935;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 140  Schema:   QC_hit: No
# Query_time: 0.000668  Lock_time: 0.000572  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558935;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 140  Schema:   QC_hit: No
# Query_time: 0.001262  Lock_time: 0.001018  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558935;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 141  Schema:   QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000274  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558935;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:49:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 144  Schema:   QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558940;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 144  Schema:   QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000266  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558940;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 220410  2:49:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 145  Schema:   QC_hit: No
# Query_time: 0.000577  Lock_time: 0.000394  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558945;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 146  Schema:   QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000269  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558945;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 146  Schema:   QC_hit: No
# Query_time: 0.002360  Lock_time: 0.002245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558945;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 145  Schema:   QC_hit: No
# Query_time: 0.002723  Lock_time: 0.002490  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558945;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:49:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 150  Schema:   QC_hit: No
# Query_time: 0.000537  Lock_time: 0.000320  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558955;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 149  Schema:   QC_hit: No
# Query_time: 0.000612  Lock_time: 0.000356  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558955;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 150  Schema:   QC_hit: No
# Query_time: 0.000997  Lock_time: 0.000796  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558955;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 149  Schema:   QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000234  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558955;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:49:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 154  Schema:   QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558965;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 153  Schema:   QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558965;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 154  Schema:   QC_hit: No
# Query_time: 0.000808  Lock_time: 0.000619  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558965;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 153  Schema:   QC_hit: No
# Query_time: 0.003859  Lock_time: 0.003666  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558965;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:49:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 157  Schema:   QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000292  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558970;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 157  Schema:   QC_hit: No
# Query_time: 0.000458  Lock_time: 0.000294  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558970;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:49:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 158  Schema:   QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000347  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558975;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 159  Schema:   QC_hit: No
# Query_time: 0.000915  Lock_time: 0.000764  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558975;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 159  Schema:   QC_hit: No
# Query_time: 0.000759  Lock_time: 0.000582  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558975;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 158  Schema:   QC_hit: No
# Query_time: 0.000715  Lock_time: 0.000561  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558975;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:49:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 164  Schema:   QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000221  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558985;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 165  Schema:   QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000232  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558985;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 164  Schema:   QC_hit: No
# Query_time: 0.001090  Lock_time: 0.000780  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558985;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 165  Schema:   QC_hit: No
# Query_time: 0.000583  Lock_time: 0.000378  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558985;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:49:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 169  Schema:   QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558995;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 168  Schema:   QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000213  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649558995;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 169  Schema:   QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558995;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 168  Schema:   QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000331  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649558995;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:50:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 172  Schema:   QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000277  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559000;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 172  Schema:   QC_hit: No
# Query_time: 0.000536  Lock_time: 0.000311  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559000;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:50:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 174  Schema:   QC_hit: No
# Query_time: 0.000555  Lock_time: 0.000451  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559005;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 173  Schema:   QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559005;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 174  Schema:   QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000274  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559005;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 173  Schema:   QC_hit: No
# Query_time: 0.001538  Lock_time: 0.001448  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559005;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:50:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 177  Schema:   QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000234  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559015;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 178  Schema:   QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000320  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559015;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 177  Schema:   QC_hit: No
# Query_time: 0.000492  Lock_time: 0.000313  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559015;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 178  Schema:   QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000279  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559015;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:50:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 181  Schema:   QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000301  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559025;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 182  Schema:   QC_hit: No
# Query_time: 0.000494  Lock_time: 0.000380  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559025;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 181  Schema:   QC_hit: No
# Query_time: 0.000753  Lock_time: 0.000452  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559025;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 182  Schema:   QC_hit: No
# Query_time: 0.000505  Lock_time: 0.000334  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559025;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:50:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 185  Schema:   QC_hit: No
# Query_time: 0.000520  Lock_time: 0.000259  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559030;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 185  Schema:   QC_hit: No
# Query_time: 0.000521  Lock_time: 0.000303  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559030;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:50:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 186  Schema:   QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000280  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559035;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 187  Schema:   QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559035;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 186  Schema:   QC_hit: No
# Query_time: 0.000610  Lock_time: 0.000397  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559035;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 187  Schema:   QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000250  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559035;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:50:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 190  Schema:   QC_hit: No
# Query_time: 0.000664  Lock_time: 0.000559  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559045;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 191  Schema:   QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000239  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559045;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 191  Schema:   QC_hit: No
# Query_time: 0.000476  Lock_time: 0.000288  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559045;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 190  Schema:   QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000281  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559045;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:50:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 195  Schema:   QC_hit: No
# Query_time: 0.000561  Lock_time: 0.000380  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559055;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 195  Schema:   QC_hit: No
# Query_time: 0.000505  Lock_time: 0.000314  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559055;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 194  Schema:   QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000229  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559055;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 194  Schema:   QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000287  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559055;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 220410  2:51:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 198  Schema:   QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000321  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559060;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 198  Schema:   QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000244  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559060;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:51:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 199  Schema:   QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000279  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559065;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 200  Schema:   QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559065;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 200  Schema:   QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000249  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559065;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 199  Schema:   QC_hit: No
# Query_time: 0.000540  Lock_time: 0.000322  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559065;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:51:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 203  Schema:   QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559075;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 204  Schema:   QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000339  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559075;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 203  Schema:   QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000314  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559075;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 204  Schema:   QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000264  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559075;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:51:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 207  Schema:   QC_hit: No
# Query_time: 0.000632  Lock_time: 0.000386  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559085;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 208  Schema:   QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559085;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 207  Schema:   QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000239  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559085;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 208  Schema:   QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000411  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559085;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:51:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 211  Schema:   QC_hit: No
# Query_time: 0.004929  Lock_time: 0.004750  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559090;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 211  Schema:   QC_hit: No
# Query_time: 0.000506  Lock_time: 0.000278  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559090;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:51:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 213  Schema:   QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000306  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559095;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 212  Schema:   QC_hit: No
# Query_time: 0.000567  Lock_time: 0.000399  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559095;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 212  Schema:   QC_hit: No
# Query_time: 0.002410  Lock_time: 0.002227  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559095;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 213  Schema:   QC_hit: No
# Query_time: 0.001369  Lock_time: 0.001236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559095;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:51:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 216  Schema:   QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559105;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 217  Schema:   QC_hit: No
# Query_time: 0.000592  Lock_time: 0.000329  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559105;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 217  Schema:   QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559105;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 216  Schema:   QC_hit: No
# Query_time: 0.000505  Lock_time: 0.000347  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559105;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:51:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 220  Schema:   QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559115;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 221  Schema:   QC_hit: No
# Query_time: 0.000508  Lock_time: 0.000421  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559115;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 220  Schema:   QC_hit: No
# Query_time: 0.001606  Lock_time: 0.001433  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559115;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 221  Schema:   QC_hit: No
# Query_time: 0.001488  Lock_time: 0.001334  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559115;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:52:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 224  Schema:   QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559120;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 224  Schema:   QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559120;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:52:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 225  Schema:   QC_hit: No
# Query_time: 0.000557  Lock_time: 0.000424  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559125;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 226  Schema:   QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559125;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 226  Schema:   QC_hit: No
# Query_time: 0.000576  Lock_time: 0.000407  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559125;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 225  Schema:   QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559125;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:52:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 229  Schema:   QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559135;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 230  Schema:   QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000356  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559135;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 229  Schema:   QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000280  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559135;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 230  Schema:   QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000316  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559135;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:52:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 233  Schema:   QC_hit: No
# Query_time: 0.000702  Lock_time: 0.000598  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559145;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 234  Schema:   QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559145;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 233  Schema:   QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000367  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559145;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 234  Schema:   QC_hit: No
# Query_time: 0.001221  Lock_time: 0.001058  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559145;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:52:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 237  Schema:   QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000249  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559150;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 237  Schema:   QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000288  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559150;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:52:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 239  Schema:   QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559155;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 238  Schema:   QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559155;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 239  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559155;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 238  Schema:   QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000274  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559155;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:52:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 242  Schema:   QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000221  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559165;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 243  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559165;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 243  Schema:   QC_hit: No
# Query_time: 0.000728  Lock_time: 0.000481  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559165;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 242  Schema:   QC_hit: No
# Query_time: 0.000451  Lock_time: 0.000292  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559165;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:52:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 247  Schema:   QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559175;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 246  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559175;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 246  Schema:   QC_hit: No
# Query_time: 0.005830  Lock_time: 0.005659  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559175;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 247  Schema:   QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559175;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:53:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 250  Schema:   QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559180;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 250  Schema:   QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000208  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559180;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:53:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 252  Schema:   QC_hit: No
# Query_time: 0.000688  Lock_time: 0.000609  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559185;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 251  Schema:   QC_hit: No
# Query_time: 0.000975  Lock_time: 0.000821  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559185;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 252  Schema:   QC_hit: No
# Query_time: 0.000522  Lock_time: 0.000351  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559185;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 251  Schema:   QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559185;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:53:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 256  Schema:   QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000292  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559195;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 255  Schema:   QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000235  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559195;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 256  Schema:   QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000388  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559195;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 255  Schema:   QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000291  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559195;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:53:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 259  Schema:   QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000233  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559205;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 260  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559205;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 260  Schema:   QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000231  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559205;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 259  Schema:   QC_hit: No
# Query_time: 0.000478  Lock_time: 0.000285  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559205;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:53:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 263  Schema:   QC_hit: No
# Query_time: 0.000436  Lock_time: 0.000227  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559210;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 263  Schema:   QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559210;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:53:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 264  Schema:   QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000222  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559215;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 264  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559215;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 265  Schema:   QC_hit: No
# Query_time: 0.001481  Lock_time: 0.001263  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559215;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 265  Schema:   QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559215;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:53:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 269  Schema:   QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000315  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559225;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 268  Schema:   QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559225;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 268  Schema:   QC_hit: No
# Query_time: 0.002798  Lock_time: 0.002678  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559225;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 269  Schema:   QC_hit: No
# Query_time: 0.004673  Lock_time: 0.004489  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559225;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:53:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 272  Schema:   QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000209  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559235;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 272  Schema:   QC_hit: No
# Query_time: 0.000171  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559235;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 273  Schema:   QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000260  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559235;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 273  Schema:   QC_hit: No
# Query_time: 0.000496  Lock_time: 0.000294  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559235;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:54:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 276  Schema:   QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000261  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559240;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 276  Schema:   QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000314  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559240;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:54:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 277  Schema:   QC_hit: No
# Query_time: 0.000685  Lock_time: 0.000423  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559245;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 278  Schema:   QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000259  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559245;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 277  Schema:   QC_hit: No
# Query_time: 0.003861  Lock_time: 0.003680  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559245;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 278  Schema:   QC_hit: No
# Query_time: 0.004212  Lock_time: 0.004008  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559245;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:54:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 282  Schema:   QC_hit: No
# Query_time: 0.000967  Lock_time: 0.000798  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559255;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 281  Schema:   QC_hit: No
# Query_time: 0.001120  Lock_time: 0.001018  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559255;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 282  Schema:   QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000285  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559255;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 281  Schema:   QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000274  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559255;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:54:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 285  Schema:   QC_hit: No
# Query_time: 0.000731  Lock_time: 0.000489  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559265;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 286  Schema:   QC_hit: No
# Query_time: 0.000988  Lock_time: 0.000890  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559265;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 285  Schema:   QC_hit: No
# Query_time: 0.004129  Lock_time: 0.003913  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559265;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 286  Schema:   QC_hit: No
# Query_time: 0.000673  Lock_time: 0.000460  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559265;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:54:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 289  Schema:   QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000320  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559270;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 289  Schema:   QC_hit: No
# Query_time: 0.000725  Lock_time: 0.000543  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559270;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:54:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 290  Schema:   QC_hit: No
# Query_time: 0.000607  Lock_time: 0.000383  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559275;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 291  Schema:   QC_hit: No
# Query_time: 0.001363  Lock_time: 0.001273  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559275;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 291  Schema:   QC_hit: No
# Query_time: 0.001303  Lock_time: 0.001030  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559275;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 290  Schema:   QC_hit: No
# Query_time: 0.001756  Lock_time: 0.001640  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559275;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:55:09
# User@Host: [] @  []
# Thread_id: 6  Schema: ejbca  QC_hit: No
# Query_time: 28.761274  Lock_time: 0.001454  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 0
use ejbca;
SET timestamp=1649559309;
CREATE TABLE PeerData ( id INT(11) NOT NULL, connectorState INT(11) NOT NULL, data LONGTEXT, name VARCHAR(250) BINARY NOT NULL, rowProtection LONGTEXT, rowVersion INT(11) NOT NULL, url VARCHAR(250) BINARY NOT NULL, PRIMARY KEY (id) );
# Time: 220410  2:55:10
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 295  Schema:   QC_hit: No
# Query_time: 25.760398  Lock_time: 0.000000  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 81
SET timestamp=1649559310;
SELECT @@version;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 296  Schema:   QC_hit: No
# Query_time: 25.759695  Lock_time: 0.000000  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 81
SET timestamp=1649559310;
SELECT @@version;
# Time: 220410  2:55:12
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 303  Schema:   QC_hit: No
# Query_time: 11.985919  Lock_time: 0.000000  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 81
SET timestamp=1649559312;
SELECT @@version;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 300  Schema:   QC_hit: No
# Query_time: 17.314079  Lock_time: 0.000000  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 81
SET timestamp=1649559312;
SELECT @@version;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 299  Schema:   QC_hit: No
# Query_time: 17.305759  Lock_time: 0.000000  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 81
SET timestamp=1649559312;
SELECT @@version;
# Time: 220410  2:55:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 308  Schema:   QC_hit: No
# Query_time: 0.000510  Lock_time: 0.000318  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559315;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 308  Schema:   QC_hit: No
# Query_time: 0.000663  Lock_time: 0.000443  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559315;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:55:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 311  Schema:   QC_hit: No
# Query_time: 0.000429  Lock_time: 0.000258  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559325;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 311  Schema:   QC_hit: No
# Query_time: 0.000548  Lock_time: 0.000358  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559325;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:55:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 314  Schema:   QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000324  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559330;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 314  Schema:   QC_hit: No
# Query_time: 0.000577  Lock_time: 0.000396  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559330;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:55:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 315  Schema:   QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000261  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559335;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 315  Schema:   QC_hit: No
# Query_time: 0.001014  Lock_time: 0.000834  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559335;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:55:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 320  Schema:   QC_hit: No
# Query_time: 0.002291  Lock_time: 0.001447  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559355;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 320  Schema:   QC_hit: No
# Query_time: 0.000840  Lock_time: 0.000631  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559355;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:56:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 323  Schema:   QC_hit: No
# Query_time: 0.000506  Lock_time: 0.000325  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559360;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 323  Schema:   QC_hit: No
# Query_time: 0.000580  Lock_time: 0.000397  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559360;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:56:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 324  Schema:   QC_hit: No
# Query_time: 0.001156  Lock_time: 0.000948  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559365;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 324  Schema:   QC_hit: No
# Query_time: 0.006296  Lock_time: 0.006082  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559365;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:56:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 327  Schema:   QC_hit: No
# Query_time: 0.000614  Lock_time: 0.000430  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559375;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 327  Schema:   QC_hit: No
# Query_time: 0.000846  Lock_time: 0.000653  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559375;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:56:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 330  Schema:   QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000301  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559385;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 331  Schema:   QC_hit: No
# Query_time: 0.000436  Lock_time: 0.000343  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559385;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 331  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559385;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 330  Schema:   QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000342  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559385;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:56:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 334  Schema:   QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000318  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559390;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 334  Schema:   QC_hit: No
# Query_time: 0.002952  Lock_time: 0.002730  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559390;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:56:36
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 335  Schema:   QC_hit: No
# Query_time: 0.324928  Lock_time: 0.324750  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559396;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 336  Schema:   QC_hit: No
# Query_time: 0.325931  Lock_time: 0.325833  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559396;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 335  Schema:   QC_hit: No
# Query_time: 0.008956  Lock_time: 0.008817  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559396;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 336  Schema:   QC_hit: No
# Query_time: 0.056273  Lock_time: 0.056126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559396;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:56:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 339  Schema:   QC_hit: No
# Query_time: 0.000904  Lock_time: 0.000713  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559405;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 340  Schema:   QC_hit: No
# Query_time: 0.000482  Lock_time: 0.000299  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559405;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 340  Schema:   QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000216  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559405;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 339  Schema:   QC_hit: No
# Query_time: 0.000951  Lock_time: 0.000747  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559405;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:56:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 343  Schema:   QC_hit: No
# Query_time: 0.001682  Lock_time: 0.001524  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559415;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 344  Schema:   QC_hit: No
# Query_time: 0.001566  Lock_time: 0.001407  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559415;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 343  Schema:   QC_hit: No
# Query_time: 0.001168  Lock_time: 0.000944  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559415;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 344  Schema:   QC_hit: No
# Query_time: 0.003300  Lock_time: 0.003086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559415;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:57:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 347  Schema:   QC_hit: No
# Query_time: 0.000505  Lock_time: 0.000323  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559420;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 347  Schema:   QC_hit: No
# Query_time: 0.000557  Lock_time: 0.000376  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559420;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:57:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 348  Schema:   QC_hit: No
# Query_time: 0.000687  Lock_time: 0.000535  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559425;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 349  Schema:   QC_hit: No
# Query_time: 0.000922  Lock_time: 0.000621  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559425;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 348  Schema:   QC_hit: No
# Query_time: 0.001770  Lock_time: 0.001597  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559425;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 349  Schema:   QC_hit: No
# Query_time: 0.000556  Lock_time: 0.000354  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559425;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:57:11
# User@Host: datarouter[datarouter] @  [10.233.72.75]
# Thread_id: 353  Schema: datarouter  QC_hit: No
# Query_time: 0.003749  Lock_time: 0.000776  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 514
use datarouter;
SET timestamp=1649559431;
SELECT TABLE_SCHEMA TABLE_CAT, NULL  TABLE_SCHEM,  TABLE_NAME, IF(TABLE_TYPE='BASE TABLE' or TABLE_TYPE='SYSTEM VERSIONED', 'TABLE', TABLE_TYPE) as TABLE_TYPE, TABLE_COMMENT REMARKS, NULL TYPE_CAT, NULL TYPE_SCHEM, NULL TYPE_NAME, NULL SELF_REFERENCING_COL_NAME,  NULL REF_GENERATION FROM INFORMATION_SCHEMA.TABLES  WHERE TABLE_SCHEMA = database() AND TABLE_NAME LIKE '%' ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# Time: 220410  2:57:12
# User@Host: datarouter[datarouter] @  [10.233.72.75]
# Thread_id: 353  Schema: datarouter  QC_hit: No
# Query_time: 0.004691  Lock_time: 0.004303  Rows_sent: 19  Rows_examined: 19
# Rows_affected: 0  Bytes_sent: 879
SET timestamp=1649559432;
select * from PARAMETERS;
# User@Host: datarouter[datarouter] @  [10.233.72.75]
# Thread_id: 353  Schema: datarouter  QC_hit: No
# Query_time: 0.003743  Lock_time: 0.003441  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 56
SET timestamp=1649559432;
select count(*) from FEEDS where DELETED = 0;
# User@Host: datarouter[datarouter] @  [10.233.72.75]
# Thread_id: 353  Schema: datarouter  QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000216  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 56
SET timestamp=1649559432;
select count(*) from SUBSCRIPTIONS;
# Time: 220410  2:57:13
# User@Host: datarouter[datarouter] @  [10.233.72.75]
# Thread_id: 353  Schema: datarouter  QC_hit: No
# Query_time: 0.008566  Lock_time: 0.008241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 128
SET timestamp=1649559433;
select NODEID, NAME from NODES;
# Time: 220410  2:57:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 354  Schema:   QC_hit: No
# Query_time: 0.003559  Lock_time: 0.003375  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559435;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 355  Schema:   QC_hit: No
# Query_time: 0.003306  Lock_time: 0.003108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559435;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 355  Schema:   QC_hit: No
# Query_time: 0.000518  Lock_time: 0.000352  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559435;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 354  Schema:   QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000288  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559435;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:57:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 359  Schema:   QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559445;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 358  Schema:   QC_hit: No
# Query_time: 0.000514  Lock_time: 0.000338  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559445;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 358  Schema:   QC_hit: No
# Query_time: 0.001221  Lock_time: 0.001065  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559445;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 359  Schema:   QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559445;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:57:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 362  Schema:   QC_hit: No
# Query_time: 0.000629  Lock_time: 0.000440  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559450;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 362  Schema:   QC_hit: No
# Query_time: 0.000552  Lock_time: 0.000449  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559450;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:57:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 363  Schema:   QC_hit: No
# Query_time: 0.000443  Lock_time: 0.000259  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559455;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 363  Schema:   QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559455;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 364  Schema:   QC_hit: No
# Query_time: 0.000610  Lock_time: 0.000446  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559455;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 364  Schema:   QC_hit: No
# Query_time: 0.000772  Lock_time: 0.000472  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559455;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:57:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 367  Schema:   QC_hit: No
# Query_time: 0.000640  Lock_time: 0.000477  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559465;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 368  Schema:   QC_hit: No
# Query_time: 0.003433  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559465;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 367  Schema:   QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559465;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 368  Schema:   QC_hit: No
# Query_time: 0.001017  Lock_time: 0.000586  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559465;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:57:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 372  Schema:   QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000230  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559475;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 371  Schema:   QC_hit: No
# Query_time: 0.000412  Lock_time: 0.000280  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559475;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 372  Schema:   QC_hit: No
# Query_time: 0.001971  Lock_time: 0.001803  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559475;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 371  Schema:   QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000293  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559475;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:58:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 375  Schema:   QC_hit: No
# Query_time: 0.000671  Lock_time: 0.000473  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559480;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 375  Schema:   QC_hit: No
# Query_time: 0.000603  Lock_time: 0.000426  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559480;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:58:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 376  Schema:   QC_hit: No
# Query_time: 0.000866  Lock_time: 0.000474  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559485;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 377  Schema:   QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000189  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559485;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 377  Schema:   QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559485;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 376  Schema:   QC_hit: No
# Query_time: 0.000387  Lock_time: 0.000235  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559485;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:58:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 381  Schema:   QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000255  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559495;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 380  Schema:   QC_hit: No
# Query_time: 0.000940  Lock_time: 0.000774  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559495;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 380  Schema:   QC_hit: No
# Query_time: 0.001481  Lock_time: 0.001340  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559495;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 381  Schema:   QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000262  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559495;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:58:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 384  Schema:   QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000269  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559505;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 385  Schema:   QC_hit: No
# Query_time: 0.001275  Lock_time: 0.001162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559505;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 384  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559505;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 385  Schema:   QC_hit: No
# Query_time: 0.001665  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559505;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2022-04-10  2:58:26 6 [Warning] 'proxies_priv' entry '@% root@onap-mariadb-galera-0' ignored in --skip-name-resolve mode.
# Time: 220410  2:58:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 389  Schema:   QC_hit: No
# Query_time: 0.022969  Lock_time: 0.022704  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559510;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 389  Schema:   QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559510;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:58:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 390  Schema:   QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000314  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559515;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 391  Schema:   QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000467  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559515;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 390  Schema:   QC_hit: No
# Query_time: 0.004248  Lock_time: 0.003890  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559515;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 391  Schema:   QC_hit: No
# Query_time: 0.040894  Lock_time: 0.040703  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559515;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:58:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 394  Schema:   QC_hit: No
# Query_time: 0.000693  Lock_time: 0.000585  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559525;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 395  Schema:   QC_hit: No
# Query_time: 0.000647  Lock_time: 0.000520  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559525;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 395  Schema:   QC_hit: No
# Query_time: 0.054290  Lock_time: 0.054103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559525;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 394  Schema:   QC_hit: No
# Query_time: 0.055402  Lock_time: 0.055292  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559525;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:58:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 436  Schema:   QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559535;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 437  Schema:   QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559535;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 437  Schema:   QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559535;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 436  Schema:   QC_hit: No
# Query_time: 0.000514  Lock_time: 0.000362  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559535;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:59:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 447  Schema:   QC_hit: No
# Query_time: 0.006674  Lock_time: 0.006488  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559541;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 447  Schema:   QC_hit: No
# Query_time: 0.006941  Lock_time: 0.006728  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559541;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:59:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 448  Schema:   QC_hit: No
# Query_time: 0.581965  Lock_time: 0.581762  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559548;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 449  Schema:   QC_hit: No
# Query_time: 0.622305  Lock_time: 0.622102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559548;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 448  Schema:   QC_hit: No
# Query_time: 0.106468  Lock_time: 0.106278  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559548;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 449  Schema:   QC_hit: No
# Query_time: 0.058631  Lock_time: 0.058535  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559548;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:59:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 453  Schema:   QC_hit: No
# Query_time: 0.000601  Lock_time: 0.000430  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559555;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 452  Schema:   QC_hit: No
# Query_time: 0.010885  Lock_time: 0.010671  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559555;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 452  Schema:   QC_hit: No
# Query_time: 0.462525  Lock_time: 0.462331  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559555;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 453  Schema:   QC_hit: No
# Query_time: 0.445380  Lock_time: 0.445282  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559555;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:59:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 457  Schema:   QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000330  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559565;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 456  Schema:   QC_hit: No
# Query_time: 0.000512  Lock_time: 0.000351  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559565;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 456  Schema:   QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000445  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559565;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 457  Schema:   QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000382  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559565;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:59:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 460  Schema:   QC_hit: No
# Query_time: 0.001424  Lock_time: 0.001226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559570;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 460  Schema:   QC_hit: No
# Query_time: 0.000700  Lock_time: 0.000518  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559570;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:59:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 462  Schema:   QC_hit: No
# Query_time: 0.002853  Lock_time: 0.002757  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559575;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 461  Schema:   QC_hit: No
# Query_time: 0.001986  Lock_time: 0.001785  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559575;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 462  Schema:   QC_hit: No
# Query_time: 0.009323  Lock_time: 0.009172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559575;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 461  Schema:   QC_hit: No
# Query_time: 0.000640  Lock_time: 0.000381  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559575;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:59:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 466  Schema:   QC_hit: No
# Query_time: 0.002476  Lock_time: 0.002214  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559585;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 465  Schema:   QC_hit: No
# Query_time: 0.010312  Lock_time: 0.010151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559585;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 465  Schema:   QC_hit: No
# Query_time: 0.000468  Lock_time: 0.000384  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559585;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 466  Schema:   QC_hit: No
# Query_time: 0.014047  Lock_time: 0.013800  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559585;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  2:59:50
# User@Host: datarouter[datarouter] @  [10.233.72.75]
# Thread_id: 353  Schema: datarouter  QC_hit: No
# Query_time: 0.005065  Lock_time: 0.004641  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1128
SET timestamp=1649559590;
select * from FEEDS;
# User@Host: datarouter[datarouter] @  [10.233.72.75]
# Thread_id: 353  Schema: datarouter  QC_hit: No
# Query_time: 0.027895  Lock_time: 0.027506  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 266
SET timestamp=1649559590;
select * from FEED_ENDPOINT_IDS;
# User@Host: datarouter[datarouter] @  [10.233.72.75]
# Thread_id: 353  Schema: datarouter  QC_hit: No
# Query_time: 0.005255  Lock_time: 0.004988  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 184
SET timestamp=1649559590;
select * from FEED_ENDPOINT_ADDRS;
# User@Host: datarouter[datarouter] @  [10.233.72.75]
# Thread_id: 353  Schema: datarouter  QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 466
SET timestamp=1649559590;
select * from GROUPS;
# User@Host: datarouter[datarouter] @  [10.233.72.75]
# Thread_id: 353  Schema: datarouter  QC_hit: No
# Query_time: 0.000589  Lock_time: 0.000354  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1538
SET timestamp=1649559590;
select * from SUBSCRIPTIONS;
# Time: 220410  2:59:51
# User@Host: datarouter[datarouter] @  [10.233.72.75]
# Thread_id: 353  Schema: datarouter  QC_hit: No
# Query_time: 0.010834  Lock_time: 0.010522  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 402
SET timestamp=1649559591;
select SEQUENCE, FEEDID, USERID, SUBNET, NODESET from INGRESS_ROUTES;
# User@Host: datarouter[datarouter] @  [10.233.72.75]
# Thread_id: 353  Schema: datarouter  QC_hit: No
# Query_time: 0.006779  Lock_time: 0.006490  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 162
SET timestamp=1649559591;
select SUBID, NODEID from EGRESS_ROUTES;
# User@Host: datarouter[datarouter] @  [10.233.72.75]
# Thread_id: 353  Schema: datarouter  QC_hit: No
# Query_time: 0.005414  Lock_time: 0.005128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 250
SET timestamp=1649559591;
select FROMNODE, TONODE, VIANODE from NETWORK_ROUTES;
# Time: 220410  2:59:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 469  Schema:   QC_hit: No
# Query_time: 0.000490  Lock_time: 0.000396  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559595;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 469  Schema:   QC_hit: No
# Query_time: 0.000549  Lock_time: 0.000353  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559595;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 470  Schema:   QC_hit: No
# Query_time: 0.000781  Lock_time: 0.000560  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559595;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 470  Schema:   QC_hit: No
# Query_time: 0.001494  Lock_time: 0.000631  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559595;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 220410  3:00:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 473  Schema:   QC_hit: No
# Query_time: 0.000509  Lock_time: 0.000357  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559600;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 473  Schema:   QC_hit: No
# Query_time: 0.000745  Lock_time: 0.000492  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559600;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:00:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 474  Schema:   QC_hit: No
# Query_time: 0.000925  Lock_time: 0.000790  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559605;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 475  Schema:   QC_hit: No
# Query_time: 0.010373  Lock_time: 0.010227  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559605;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 474  Schema:   QC_hit: No
# Query_time: 0.001371  Lock_time: 0.001193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559605;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 475  Schema:   QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000274  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559605;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:00:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 481  Schema:   QC_hit: No
# Query_time: 0.002383  Lock_time: 0.002243  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559615;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 482  Schema:   QC_hit: No
# Query_time: 0.004009  Lock_time: 0.003853  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559615;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 481  Schema:   QC_hit: No
# Query_time: 0.000520  Lock_time: 0.000349  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559615;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 482  Schema:   QC_hit: No
# Query_time: 0.004507  Lock_time: 0.004299  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559615;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:00:18
# User@Host: ejbca[ejbca] @  [10.233.69.80]
# Thread_id: 480  Schema: ejbca  QC_hit: No
# Query_time: 0.021742  Lock_time: 0.021348  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 84
use ejbca;
SET timestamp=1649559618;
select cryptotoke0_.id as col_0_0_ from CryptoTokenData cryptotoke0_;
# Time: 220410  3:00:19
# User@Host: ejbca[ejbca] @  [10.233.69.80]
# Thread_id: 480  Schema: ejbca  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 650
SET timestamp=1649559619;
select cryptotoke0_.id as id1_19_, cryptotoke0_.lastUpdate as lastUpda2_19_, cryptotoke0_.rowProtection as rowProte3_19_, cryptotoke0_.rowVersion as rowVersi4_19_, cryptotoke0_.tokenData as tokenDat5_19_, cryptotoke0_.tokenName as tokenNam6_19_, cryptotoke0_.tokenProps as tokenPro7_19_, cryptotoke0_.tokenType as tokenTyp8_19_ from CryptoTokenData cryptotoke0_ where cryptotoke0_.tokenName='ManagementCA';
# Time: 220410  3:00:23
# User@Host: ejbca[ejbca] @  [10.233.69.80]
# Thread_id: 480  Schema: ejbca  QC_hit: No
# Query_time: 0.000456  Lock_time: 0.000181  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 1140
SET timestamp=1649559623;
select cryptotoke0_.id as id1_19_, cryptotoke0_.lastUpdate as lastUpda2_19_, cryptotoke0_.rowProtection as rowProte3_19_, cryptotoke0_.rowVersion as rowVersi4_19_, cryptotoke0_.tokenData as tokenDat5_19_, cryptotoke0_.tokenName as tokenNam6_19_, cryptotoke0_.tokenProps as tokenPro7_19_, cryptotoke0_.tokenType as tokenTyp8_19_ from CryptoTokenData cryptotoke0_ where cryptotoke0_.tokenName='ManagementCA';
# Time: 220410  3:00:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 485  Schema:   QC_hit: No
# Query_time: 0.001813  Lock_time: 0.001701  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559625;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 486  Schema:   QC_hit: No
# Query_time: 0.004875  Lock_time: 0.004666  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559625;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 486  Schema:   QC_hit: No
# Query_time: 0.007856  Lock_time: 0.007661  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559625;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 485  Schema:   QC_hit: No
# Query_time: 0.001973  Lock_time: 0.001793  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559625;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: ejbca[ejbca] @  [10.233.69.80]
# Thread_id: 480  Schema: ejbca  QC_hit: No
# Query_time: 0.000593  Lock_time: 0.000231  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 5276
SET timestamp=1649559625;
select cryptotoke0_.id as id1_19_, cryptotoke0_.lastUpdate as lastUpda2_19_, cryptotoke0_.rowProtection as rowProte3_19_, cryptotoke0_.rowVersion as rowVersi4_19_, cryptotoke0_.tokenData as tokenDat5_19_, cryptotoke0_.tokenName as tokenNam6_19_, cryptotoke0_.tokenProps as tokenPro7_19_, cryptotoke0_.tokenType as tokenTyp8_19_ from CryptoTokenData cryptotoke0_ where cryptotoke0_.tokenName='ManagementCA';
# Time: 220410  3:00:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 489  Schema:   QC_hit: No
# Query_time: 0.000756  Lock_time: 0.000527  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559630;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 489  Schema:   QC_hit: No
# Query_time: 0.000646  Lock_time: 0.000484  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559630;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:00:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 490  Schema:   QC_hit: No
# Query_time: 0.000696  Lock_time: 0.000580  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559635;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 491  Schema:   QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559635;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 491  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559635;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 490  Schema:   QC_hit: No
# Query_time: 0.000700  Lock_time: 0.000522  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559635;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:00:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 495  Schema:   QC_hit: No
# Query_time: 0.010275  Lock_time: 0.010076  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559645;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 495  Schema:   QC_hit: No
# Query_time: 0.001354  Lock_time: 0.001185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559645;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 494  Schema:   QC_hit: No
# Query_time: 0.000479  Lock_time: 0.000301  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559645;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 494  Schema:   QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000388  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559645;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 220410  3:00:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 499  Schema:   QC_hit: No
# Query_time: 0.000404  Lock_time: 0.000258  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559655;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 498  Schema:   QC_hit: No
# Query_time: 0.000850  Lock_time: 0.000760  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559655;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 499  Schema:   QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000261  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559655;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 498  Schema:   QC_hit: No
# Query_time: 0.000507  Lock_time: 0.000323  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559655;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:01:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 502  Schema:   QC_hit: No
# Query_time: 0.000632  Lock_time: 0.000351  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559660;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 502  Schema:   QC_hit: No
# Query_time: 0.000505  Lock_time: 0.000355  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559660;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:01:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 503  Schema:   QC_hit: No
# Query_time: 0.011809  Lock_time: 0.011598  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559665;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 504  Schema:   QC_hit: No
# Query_time: 0.011914  Lock_time: 0.011812  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559665;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 503  Schema:   QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000261  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559665;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 504  Schema:   QC_hit: No
# Query_time: 0.001595  Lock_time: 0.001076  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559665;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:01:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 507  Schema:   QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000248  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559675;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 508  Schema:   QC_hit: No
# Query_time: 0.001596  Lock_time: 0.000298  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559675;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 508  Schema:   QC_hit: No
# Query_time: 0.000476  Lock_time: 0.000303  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559675;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 507  Schema:   QC_hit: No
# Query_time: 0.000813  Lock_time: 0.000558  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559675;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:01:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 511  Schema:   QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559685;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 512  Schema:   QC_hit: No
# Query_time: 0.001509  Lock_time: 0.000528  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559685;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 511  Schema:   QC_hit: No
# Query_time: 0.000395  Lock_time: 0.000260  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559685;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 512  Schema:   QC_hit: No
# Query_time: 0.002991  Lock_time: 0.002805  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559685;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:01:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 515  Schema:   QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000273  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559690;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 515  Schema:   QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000279  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559690;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:01:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 517  Schema:   QC_hit: No
# Query_time: 0.000717  Lock_time: 0.000542  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559695;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 516  Schema:   QC_hit: No
# Query_time: 0.000752  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559695;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 517  Schema:   QC_hit: No
# Query_time: 0.001181  Lock_time: 0.000989  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559695;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 516  Schema:   QC_hit: No
# Query_time: 0.001175  Lock_time: 0.000953  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559695;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:01:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 521  Schema:   QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000363  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559705;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 521  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559705;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 520  Schema:   QC_hit: No
# Query_time: 0.001307  Lock_time: 0.001213  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559705;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 520  Schema:   QC_hit: No
# Query_time: 0.000701  Lock_time: 0.000487  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559705;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:01:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 525  Schema:   QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000285  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559715;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 524  Schema:   QC_hit: No
# Query_time: 0.002482  Lock_time: 0.002309  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559715;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 525  Schema:   QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000451  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559715;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 524  Schema:   QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000231  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559715;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:02:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 528  Schema:   QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000273  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559720;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 528  Schema:   QC_hit: No
# Query_time: 0.000866  Lock_time: 0.000686  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559720;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:02:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 529  Schema:   QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000239  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559725;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 530  Schema:   QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559725;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 529  Schema:   QC_hit: No
# Query_time: 0.000500  Lock_time: 0.000332  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559725;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 530  Schema:   QC_hit: No
# Query_time: 0.004115  Lock_time: 0.003914  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559725;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:02:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 533  Schema:   QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559735;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 534  Schema:   QC_hit: No
# Query_time: 0.003487  Lock_time: 0.003300  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559735;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 534  Schema:   QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559735;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 533  Schema:   QC_hit: No
# Query_time: 0.000529  Lock_time: 0.000344  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559735;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:02:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 538  Schema:   QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000288  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559745;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 537  Schema:   QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559745;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 537  Schema:   QC_hit: No
# Query_time: 0.001395  Lock_time: 0.001165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559745;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 538  Schema:   QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559745;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:02:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 541  Schema:   QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000197  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559750;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 541  Schema:   QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000234  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559750;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:02:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 543  Schema:   QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000308  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559755;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 542  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559755;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 542  Schema:   QC_hit: No
# Query_time: 0.000690  Lock_time: 0.000474  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559755;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 543  Schema:   QC_hit: No
# Query_time: 0.000715  Lock_time: 0.000519  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559755;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:02:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 546  Schema:   QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559765;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 547  Schema:   QC_hit: No
# Query_time: 0.003227  Lock_time: 0.003070  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559765;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 546  Schema:   QC_hit: No
# Query_time: 0.000615  Lock_time: 0.000351  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559765;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 547  Schema:   QC_hit: No
# Query_time: 0.000893  Lock_time: 0.000751  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559765;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:02:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 550  Schema:   QC_hit: No
# Query_time: 0.000559  Lock_time: 0.000411  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559775;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 551  Schema:   QC_hit: No
# Query_time: 0.001076  Lock_time: 0.000786  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559775;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 551  Schema:   QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000217  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559775;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 550  Schema:   QC_hit: No
# Query_time: 0.014656  Lock_time: 0.014451  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559775;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:03:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 554  Schema:   QC_hit: No
# Query_time: 0.000801  Lock_time: 0.000661  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559780;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 554  Schema:   QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000308  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559780;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:03:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 556  Schema:   QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000335  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559785;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 555  Schema:   QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000362  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559785;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 556  Schema:   QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559785;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 555  Schema:   QC_hit: No
# Query_time: 0.000583  Lock_time: 0.000395  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559785;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:03:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 559  Schema:   QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000205  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559795;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 560  Schema:   QC_hit: No
# Query_time: 0.000972  Lock_time: 0.000810  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559795;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 560  Schema:   QC_hit: No
# Query_time: 0.000937  Lock_time: 0.000756  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559795;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 559  Schema:   QC_hit: No
# Query_time: 0.001839  Lock_time: 0.001639  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559795;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:03:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 564  Schema:   QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000275  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559805;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 563  Schema:   QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559805;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 563  Schema:   QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559805;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 564  Schema:   QC_hit: No
# Query_time: 0.001992  Lock_time: 0.001629  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559805;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:03:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 567  Schema:   QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000362  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559810;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 567  Schema:   QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000286  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559810;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:03:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 569  Schema:   QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559815;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 568  Schema:   QC_hit: No
# Query_time: 0.000928  Lock_time: 0.000793  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559815;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 569  Schema:   QC_hit: No
# Query_time: 0.012170  Lock_time: 0.011982  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559815;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 568  Schema:   QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000260  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559815;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:03:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 573  Schema:   QC_hit: No
# Query_time: 0.000452  Lock_time: 0.000351  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559825;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 572  Schema:   QC_hit: No
# Query_time: 0.016819  Lock_time: 0.013697  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559825;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 573  Schema:   QC_hit: No
# Query_time: 0.000494  Lock_time: 0.000313  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559825;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 572  Schema:   QC_hit: No
# Query_time: 0.001675  Lock_time: 0.001416  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559825;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 220410  3:03:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 577  Schema:   QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000221  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559835;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 577  Schema:   QC_hit: No
# Query_time: 0.000631  Lock_time: 0.000477  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559835;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 576  Schema:   QC_hit: No
# Query_time: 0.002259  Lock_time: 0.002060  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559835;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 576  Schema:   QC_hit: No
# Query_time: 0.002955  Lock_time: 0.002763  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559835;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:04:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 580  Schema:   QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000393  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559840;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 580  Schema:   QC_hit: No
# Query_time: 0.000587  Lock_time: 0.000420  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559840;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:04:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 582  Schema:   QC_hit: No
# Query_time: 0.000796  Lock_time: 0.000641  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559845;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 581  Schema:   QC_hit: No
# Query_time: 0.003531  Lock_time: 0.003380  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559845;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 581  Schema:   QC_hit: No
# Query_time: 0.010183  Lock_time: 0.010031  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559845;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 582  Schema:   QC_hit: No
# Query_time: 0.003928  Lock_time: 0.003728  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559845;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:04:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 585  Schema:   QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000253  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559855;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 586  Schema:   QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000228  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559855;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 585  Schema:   QC_hit: No
# Query_time: 0.002491  Lock_time: 0.002273  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559855;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 586  Schema:   QC_hit: No
# Query_time: 0.007563  Lock_time: 0.007384  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559855;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:04:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 589  Schema:   QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000327  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559865;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 589  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559865;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 590  Schema:   QC_hit: No
# Query_time: 0.000500  Lock_time: 0.000309  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559865;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 590  Schema:   QC_hit: No
# Query_time: 0.000856  Lock_time: 0.000241  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559865;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:04:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 593  Schema:   QC_hit: No
# Query_time: 0.001572  Lock_time: 0.001379  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559870;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 593  Schema:   QC_hit: No
# Query_time: 0.000440  Lock_time: 0.000275  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559870;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:04:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 595  Schema:   QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559875;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 594  Schema:   QC_hit: No
# Query_time: 0.000601  Lock_time: 0.000529  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559875;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 594  Schema:   QC_hit: No
# Query_time: 0.000465  Lock_time: 0.000325  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559875;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 595  Schema:   QC_hit: No
# Query_time: 0.000511  Lock_time: 0.000317  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559875;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:04:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 600  Schema:   QC_hit: No
# Query_time: 0.000598  Lock_time: 0.000321  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559885;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 601  Schema:   QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000247  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559885;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 600  Schema:   QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000316  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559885;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 601  Schema:   QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000267  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559885;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:04:46
# User@Host: ejbca[ejbca] @  [10.233.69.80]
# Thread_id: 599  Schema: ejbca  QC_hit: No
# Query_time: 0.000803  Lock_time: 0.000359  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 4961
SET timestamp=1649559886;
select certificat0_.id as id1_16_, certificat0_.certificateProfileName as certific2_16_, certificat0_.data as data3_16_, certificat0_.rowProtection as rowProte4_16_, certificat0_.rowVersion as rowVersi5_16_ from CertificateProfileData certificat0_;
# Time: 220410  3:04:47
# User@Host: ejbca[ejbca] @  [10.233.69.80]
# Thread_id: 599  Schema: ejbca  QC_hit: No
# Query_time: 0.000872  Lock_time: 0.000297  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 4563
SET timestamp=1649559887;
select endentityp0_.id as id1_20_, endentityp0_.data as data2_20_, endentityp0_.profileName as profileN3_20_, endentityp0_.rowProtection as rowProte4_20_, endentityp0_.rowVersion as rowVersi5_20_ from EndEntityProfileData endentityp0_;
# User@Host: ejbca[ejbca] @  [10.233.69.80]
# Thread_id: 598  Schema: ejbca  QC_hit: No
# Query_time: 0.012422  Lock_time: 0.012018  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 465
SET timestamp=1649559887;
select profiledat0_.id as id1_27_, profiledat0_.profileName as profileN2_27_, profiledat0_.profileType as profileT3_27_, profiledat0_.rawData as rawData4_27_, profiledat0_.rowProtection as rowProte5_27_, profiledat0_.rowVersion as rowVersi6_27_ from ProfileData profiledat0_ where profiledat0_.profileType='APPROVAL_PROFILE';
# Time: 220410  3:04:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 604  Schema:   QC_hit: No
# Query_time: 0.000443  Lock_time: 0.000287  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559895;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 605  Schema:   QC_hit: No
# Query_time: 0.000535  Lock_time: 0.000252  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559895;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 604  Schema:   QC_hit: No
# Query_time: 0.002322  Lock_time: 0.002138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559895;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 605  Schema:   QC_hit: No
# Query_time: 0.005787  Lock_time: 0.005515  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559895;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:05:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 608  Schema:   QC_hit: No
# Query_time: 0.000655  Lock_time: 0.000417  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559900;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 608  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559900;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:05:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 609  Schema:   QC_hit: No
# Query_time: 0.006578  Lock_time: 0.006388  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559905;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 610  Schema:   QC_hit: No
# Query_time: 0.007086  Lock_time: 0.006964  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559905;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 610  Schema:   QC_hit: No
# Query_time: 0.002933  Lock_time: 0.002721  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559905;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 609  Schema:   QC_hit: No
# Query_time: 0.000718  Lock_time: 0.000535  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559905;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:05:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 613  Schema:   QC_hit: No
# Query_time: 0.000961  Lock_time: 0.000768  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559915;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 613  Schema:   QC_hit: No
# Query_time: 0.000551  Lock_time: 0.000419  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559915;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 614  Schema:   QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000282  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559915;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 614  Schema:   QC_hit: No
# Query_time: 0.001372  Lock_time: 0.001216  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559915;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 220410  3:05:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 617  Schema:   QC_hit: No
# Query_time: 0.000557  Lock_time: 0.000390  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559925;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 618  Schema:   QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559925;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 618  Schema:   QC_hit: No
# Query_time: 0.000655  Lock_time: 0.000479  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559925;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 617  Schema:   QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000338  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559925;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:05:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 621  Schema:   QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000232  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559930;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 621  Schema:   QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559930;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:05:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 622  Schema:   QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000398  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559935;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 623  Schema:   QC_hit: No
# Query_time: 0.001348  Lock_time: 0.001229  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559935;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 623  Schema:   QC_hit: No
# Query_time: 0.002889  Lock_time: 0.002609  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559935;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 622  Schema:   QC_hit: No
# Query_time: 0.000492  Lock_time: 0.000341  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559935;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:05:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 627  Schema:   QC_hit: No
# Query_time: 0.002207  Lock_time: 0.002007  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559945;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 626  Schema:   QC_hit: No
# Query_time: 0.003427  Lock_time: 0.003228  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559945;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 626  Schema:   QC_hit: No
# Query_time: 0.001951  Lock_time: 0.001802  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559945;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 627  Schema:   QC_hit: No
# Query_time: 0.000830  Lock_time: 0.000648  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559945;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:05:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 630  Schema:   QC_hit: No
# Query_time: 0.001003  Lock_time: 0.000876  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559955;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 630  Schema:   QC_hit: No
# Query_time: 0.000848  Lock_time: 0.000718  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559955;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 631  Schema:   QC_hit: No
# Query_time: 0.000472  Lock_time: 0.000331  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559955;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 631  Schema:   QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559955;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 220410  3:06:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 634  Schema:   QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000287  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559960;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 634  Schema:   QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000307  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559960;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:06:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 635  Schema:   QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559965;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 635  Schema:   QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559965;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 636  Schema:   QC_hit: No
# Query_time: 0.000938  Lock_time: 0.000756  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559965;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 636  Schema:   QC_hit: No
# Query_time: 0.001615  Lock_time: 0.001514  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559965;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:06:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 640  Schema:   QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000205  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559975;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 640  Schema:   QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559975;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 639  Schema:   QC_hit: No
# Query_time: 0.000767  Lock_time: 0.000241  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559975;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 639  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559975;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 220410  3:06:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 643  Schema:   QC_hit: No
# Query_time: 0.000455  Lock_time: 0.000242  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559985;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 643  Schema:   QC_hit: No
# Query_time: 0.000910  Lock_time: 0.000746  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559985;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 644  Schema:   QC_hit: No
# Query_time: 0.004808  Lock_time: 0.004620  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559985;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 644  Schema:   QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000278  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559985;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:06:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 647  Schema:   QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000290  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559990;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 647  Schema:   QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000299  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559990;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:06:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 649  Schema:   QC_hit: No
# Query_time: 0.000360  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559995;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 649  Schema:   QC_hit: No
# Query_time: 0.000549  Lock_time: 0.000367  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559995;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 648  Schema:   QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000297  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649559995;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 648  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649559995;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 220410  3:06:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 652  Schema:   QC_hit: No
# Query_time: 0.000542  Lock_time: 0.000407  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560005;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 653  Schema:   QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000269  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560005;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 652  Schema:   QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560005;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 653  Schema:   QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560005;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:06:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 657  Schema:   QC_hit: No
# Query_time: 0.000483  Lock_time: 0.000360  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560015;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 656  Schema:   QC_hit: No
# Query_time: 0.001046  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560015;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 657  Schema:   QC_hit: No
# Query_time: 0.000522  Lock_time: 0.000346  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560015;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 656  Schema:   QC_hit: No
# Query_time: 0.002777  Lock_time: 0.002616  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560015;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:07:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 660  Schema:   QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000222  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560020;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 660  Schema:   QC_hit: No
# Query_time: 0.000515  Lock_time: 0.000342  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560020;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:07:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 661  Schema:   QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000252  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560025;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 662  Schema:   QC_hit: No
# Query_time: 0.007368  Lock_time: 0.007188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560025;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 662  Schema:   QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000310  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560025;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 661  Schema:   QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000249  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560025;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:07:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 666  Schema:   QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000327  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560035;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 665  Schema:   QC_hit: No
# Query_time: 0.000452  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560035;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 665  Schema:   QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560035;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 666  Schema:   QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000290  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560035;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:07:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 669  Schema:   QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000263  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560045;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 670  Schema:   QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560045;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 670  Schema:   QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000316  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560045;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 669  Schema:   QC_hit: No
# Query_time: 0.000540  Lock_time: 0.000391  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560045;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:07:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 673  Schema:   QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000253  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560050;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 673  Schema:   QC_hit: No
# Query_time: 0.000483  Lock_time: 0.000305  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560050;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:07:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 674  Schema:   QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000403  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560055;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 675  Schema:   QC_hit: No
# Query_time: 0.000961  Lock_time: 0.000884  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560055;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 675  Schema:   QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560055;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 674  Schema:   QC_hit: No
# Query_time: 0.001023  Lock_time: 0.000771  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560055;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:07:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 678  Schema:   QC_hit: No
# Query_time: 0.000804  Lock_time: 0.000594  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560065;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 679  Schema:   QC_hit: No
# Query_time: 0.000661  Lock_time: 0.000392  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560065;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 678  Schema:   QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000295  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560065;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 679  Schema:   QC_hit: No
# Query_time: 0.000625  Lock_time: 0.000413  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560065;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 220410  3:07:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 683  Schema:   QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560075;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 682  Schema:   QC_hit: No
# Query_time: 0.005360  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560075;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 683  Schema:   QC_hit: No
# Query_time: 0.005793  Lock_time: 0.005595  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560075;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 682  Schema:   QC_hit: No
# Query_time: 0.002102  Lock_time: 0.001941  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560075;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:08:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 686  Schema:   QC_hit: No
# Query_time: 0.005107  Lock_time: 0.004882  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560080;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 686  Schema:   QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560080;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:08:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 688  Schema:   QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560085;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 687  Schema:   QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000270  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560085;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 688  Schema:   QC_hit: No
# Query_time: 0.011261  Lock_time: 0.011040  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560085;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 687  Schema:   QC_hit: No
# Query_time: 0.008587  Lock_time: 0.008384  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560085;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:08:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 691  Schema:   QC_hit: No
# Query_time: 0.000536  Lock_time: 0.000401  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560095;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 692  Schema:   QC_hit: No
# Query_time: 0.000511  Lock_time: 0.000416  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560095;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 692  Schema:   QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000252  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560095;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 691  Schema:   QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000252  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560095;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:08:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 695  Schema:   QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560105;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 695  Schema:   QC_hit: No
# Query_time: 0.003781  Lock_time: 0.003671  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560105;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 696  Schema:   QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560105;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 696  Schema:   QC_hit: No
# Query_time: 0.000631  Lock_time: 0.000349  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560105;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:08:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 699  Schema:   QC_hit: No
# Query_time: 0.000833  Lock_time: 0.000475  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560110;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 699  Schema:   QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560110;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:08:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 701  Schema:   QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000293  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560115;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 700  Schema:   QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000430  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560115;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 701  Schema:   QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560115;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 700  Schema:   QC_hit: No
# Query_time: 0.002856  Lock_time: 0.002680  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560115;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 220410  3:08:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 704  Schema:   QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000352  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560125;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 705  Schema:   QC_hit: No
# Query_time: 0.000395  Lock_time: 0.000246  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560125;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 705  Schema:   QC_hit: No
# Query_time: 0.000774  Lock_time: 0.000559  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560125;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 704  Schema:   QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000300  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560125;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:08:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 708  Schema:   QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000230  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560135;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 709  Schema:   QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560135;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 708  Schema:   QC_hit: No
# Query_time: 0.000514  Lock_time: 0.000346  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560135;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 709  Schema:   QC_hit: No
# Query_time: 0.001335  Lock_time: 0.001171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560135;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:09:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 712  Schema:   QC_hit: No
# Query_time: 0.000458  Lock_time: 0.000318  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560140;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 712  Schema:   QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560140;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:09:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 714  Schema:   QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000286  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560145;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 713  Schema:   QC_hit: No
# Query_time: 0.002961  Lock_time: 0.002729  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560145;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 714  Schema:   QC_hit: No
# Query_time: 0.000520  Lock_time: 0.000338  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560145;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 713  Schema:   QC_hit: No
# Query_time: 0.000578  Lock_time: 0.000363  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560145;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:09:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 720  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560155;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 719  Schema:   QC_hit: No
# Query_time: 0.001025  Lock_time: 0.000920  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560155;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 720  Schema:   QC_hit: No
# Query_time: 0.000564  Lock_time: 0.000360  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560155;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 719  Schema:   QC_hit: No
# Query_time: 0.001115  Lock_time: 0.000923  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560155;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:09:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 724  Schema:   QC_hit: No
# Query_time: 0.001513  Lock_time: 0.001115  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560165;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 723  Schema:   QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000342  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560165;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 723  Schema:   QC_hit: No
# Query_time: 0.000440  Lock_time: 0.000251  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560165;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 724  Schema:   QC_hit: No
# Query_time: 0.000613  Lock_time: 0.000403  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560165;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:09:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 727  Schema:   QC_hit: No
# Query_time: 0.000655  Lock_time: 0.000427  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560170;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 727  Schema:   QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560170;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:09:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 728  Schema:   QC_hit: No
# Query_time: 0.000597  Lock_time: 0.000439  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560175;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 729  Schema:   QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000375  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560175;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 728  Schema:   QC_hit: No
# Query_time: 0.000802  Lock_time: 0.000679  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560175;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 729  Schema:   QC_hit: No
# Query_time: 0.000464  Lock_time: 0.000280  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560175;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:09:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 732  Schema:   QC_hit: No
# Query_time: 0.000675  Lock_time: 0.000527  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560185;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 733  Schema:   QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560185;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 732  Schema:   QC_hit: No
# Query_time: 0.000851  Lock_time: 0.000646  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560185;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 733  Schema:   QC_hit: No
# Query_time: 0.000747  Lock_time: 0.000546  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560185;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:09:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 736  Schema:   QC_hit: No
# Query_time: 0.000575  Lock_time: 0.000408  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560195;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 737  Schema:   QC_hit: No
# Query_time: 0.000573  Lock_time: 0.000450  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560195;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 736  Schema:   QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000400  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560195;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 737  Schema:   QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000218  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560195;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:10:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 740  Schema:   QC_hit: No
# Query_time: 0.000554  Lock_time: 0.000408  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560200;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 740  Schema:   QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000230  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560200;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:10:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 742  Schema:   QC_hit: No
# Query_time: 0.000665  Lock_time: 0.000397  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560205;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 742  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560205;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 741  Schema:   QC_hit: No
# Query_time: 0.000601  Lock_time: 0.000422  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560205;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 741  Schema:   QC_hit: No
# Query_time: 0.000641  Lock_time: 0.000522  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560205;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:10:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 745  Schema:   QC_hit: No
# Query_time: 0.001113  Lock_time: 0.000966  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560215;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 746  Schema:   QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000346  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560215;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 746  Schema:   QC_hit: No
# Query_time: 0.000870  Lock_time: 0.000753  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560215;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 745  Schema:   QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560215;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:10:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 749  Schema:   QC_hit: No
# Query_time: 0.000898  Lock_time: 0.000316  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560225;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 750  Schema:   QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000283  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560225;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 750  Schema:   QC_hit: No
# Query_time: 0.000549  Lock_time: 0.000253  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560225;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 749  Schema:   QC_hit: No
# Query_time: 0.000402  Lock_time: 0.000271  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560225;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:10:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 753  Schema:   QC_hit: No
# Query_time: 0.001853  Lock_time: 0.001683  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560230;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 753  Schema:   QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000327  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560230;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:10:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 755  Schema:   QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000238  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560235;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 755  Schema:   QC_hit: No
# Query_time: 0.000606  Lock_time: 0.000443  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560235;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 754  Schema:   QC_hit: No
# Query_time: 0.003065  Lock_time: 0.002927  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560235;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 754  Schema:   QC_hit: No
# Query_time: 0.000841  Lock_time: 0.000633  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560235;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:10:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 758  Schema:   QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560245;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 759  Schema:   QC_hit: No
# Query_time: 0.000647  Lock_time: 0.000579  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560245;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 758  Schema:   QC_hit: No
# Query_time: 0.000651  Lock_time: 0.000549  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560245;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 759  Schema:   QC_hit: No
# Query_time: 0.000690  Lock_time: 0.000528  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560245;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:10:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 762  Schema:   QC_hit: No
# Query_time: 0.000826  Lock_time: 0.000325  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560255;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 763  Schema:   QC_hit: No
# Query_time: 0.001280  Lock_time: 0.000944  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560255;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 762  Schema:   QC_hit: No
# Query_time: 0.001601  Lock_time: 0.001429  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560255;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 763  Schema:   QC_hit: No
# Query_time: 0.000537  Lock_time: 0.000369  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560255;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:11:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 766  Schema:   QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000286  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560260;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 766  Schema:   QC_hit: No
# Query_time: 0.000443  Lock_time: 0.000290  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560260;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:11:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 768  Schema:   QC_hit: No
# Query_time: 0.002184  Lock_time: 0.002005  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560265;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 767  Schema:   QC_hit: No
# Query_time: 0.004869  Lock_time: 0.004647  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560265;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 768  Schema:   QC_hit: No
# Query_time: 0.000851  Lock_time: 0.000594  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560265;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 767  Schema:   QC_hit: No
# Query_time: 0.000599  Lock_time: 0.000391  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560265;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:11:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 772  Schema:   QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000228  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560275;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 771  Schema:   QC_hit: No
# Query_time: 0.004060  Lock_time: 0.003863  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560275;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 772  Schema:   QC_hit: No
# Query_time: 0.000840  Lock_time: 0.000613  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560275;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 771  Schema:   QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000228  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560275;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:11:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 775  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560285;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 776  Schema:   QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000280  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560285;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 775  Schema:   QC_hit: No
# Query_time: 0.000429  Lock_time: 0.000295  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560285;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 776  Schema:   QC_hit: No
# Query_time: 0.000440  Lock_time: 0.000241  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560285;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:11:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 779  Schema:   QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000325  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560290;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 779  Schema:   QC_hit: No
# Query_time: 0.000525  Lock_time: 0.000339  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560290;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:11:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 780  Schema:   QC_hit: No
# Query_time: 0.000516  Lock_time: 0.000375  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560295;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 781  Schema:   QC_hit: No
# Query_time: 0.000511  Lock_time: 0.000409  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560295;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 781  Schema:   QC_hit: No
# Query_time: 0.000395  Lock_time: 0.000298  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560295;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 780  Schema:   QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000260  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560295;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:11:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 785  Schema:   QC_hit: No
# Query_time: 0.000563  Lock_time: 0.000344  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560305;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 784  Schema:   QC_hit: No
# Query_time: 0.001011  Lock_time: 0.000934  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560305;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 784  Schema:   QC_hit: No
# Query_time: 0.000775  Lock_time: 0.000626  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560305;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 785  Schema:   QC_hit: No
# Query_time: 0.001042  Lock_time: 0.000815  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560305;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:11:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 789  Schema:   QC_hit: No
# Query_time: 0.002821  Lock_time: 0.002637  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560315;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 788  Schema:   QC_hit: No
# Query_time: 0.009284  Lock_time: 0.009011  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560315;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 789  Schema:   QC_hit: No
# Query_time: 0.000606  Lock_time: 0.000409  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560315;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 788  Schema:   QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000274  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560315;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:12:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 792  Schema:   QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000293  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560320;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 792  Schema:   QC_hit: No
# Query_time: 0.000966  Lock_time: 0.000786  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560320;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:12:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 794  Schema:   QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000263  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560325;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 793  Schema:   QC_hit: No
# Query_time: 0.000936  Lock_time: 0.000756  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560325;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 794  Schema:   QC_hit: No
# Query_time: 0.000476  Lock_time: 0.000268  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560325;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 793  Schema:   QC_hit: No
# Query_time: 0.001488  Lock_time: 0.001293  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560325;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:12:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 798  Schema:   QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000208  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560335;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 797  Schema:   QC_hit: No
# Query_time: 0.000612  Lock_time: 0.000527  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560335;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 797  Schema:   QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000238  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560335;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 798  Schema:   QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000347  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560335;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:12:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 802  Schema:   QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560345;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 801  Schema:   QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560345;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 801  Schema:   QC_hit: No
# Query_time: 0.001294  Lock_time: 0.001079  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560345;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 802  Schema:   QC_hit: No
# Query_time: 0.000515  Lock_time: 0.000298  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560345;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:12:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 805  Schema:   QC_hit: No
# Query_time: 0.000465  Lock_time: 0.000283  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560350;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 805  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560350;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 220410  3:12:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 806  Schema:   QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560355;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 807  Schema:   QC_hit: No
# Query_time: 0.001860  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560355;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 807  Schema:   QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560355;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 806  Schema:   QC_hit: No
# Query_time: 0.000647  Lock_time: 0.000476  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560355;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:12:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 810  Schema:   QC_hit: No
# Query_time: 0.002124  Lock_time: 0.002006  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560365;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 811  Schema:   QC_hit: No
# Query_time: 0.002496  Lock_time: 0.002317  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560365;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 810  Schema:   QC_hit: No
# Query_time: 0.001701  Lock_time: 0.001500  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560365;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 811  Schema:   QC_hit: No
# Query_time: 0.000758  Lock_time: 0.000668  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560365;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:12:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 814  Schema:   QC_hit: No
# Query_time: 0.000785  Lock_time: 0.000664  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560375;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 815  Schema:   QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560375;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 815  Schema:   QC_hit: No
# Query_time: 0.001034  Lock_time: 0.000884  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560375;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 814  Schema:   QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000273  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560375;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:13:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 818  Schema:   QC_hit: No
# Query_time: 0.000539  Lock_time: 0.000410  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560380;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 818  Schema:   QC_hit: No
# Query_time: 0.000763  Lock_time: 0.000578  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560380;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:13:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 820  Schema:   QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000295  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560385;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 819  Schema:   QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000222  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560385;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 820  Schema:   QC_hit: No
# Query_time: 0.000486  Lock_time: 0.000269  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560385;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 819  Schema:   QC_hit: No
# Query_time: 0.000618  Lock_time: 0.000452  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560385;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:13:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 824  Schema:   QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000238  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560395;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 823  Schema:   QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560395;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 823  Schema:   QC_hit: No
# Query_time: 0.000440  Lock_time: 0.000271  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560395;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 824  Schema:   QC_hit: No
# Query_time: 0.000933  Lock_time: 0.000726  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560395;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 220410  3:13:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 828  Schema:   QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000238  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560405;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 827  Schema:   QC_hit: No
# Query_time: 0.001108  Lock_time: 0.000999  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560405;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 827  Schema:   QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000241  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560405;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 828  Schema:   QC_hit: No
# Query_time: 0.001567  Lock_time: 0.001320  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560405;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:13:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 831  Schema:   QC_hit: No
# Query_time: 0.000508  Lock_time: 0.000344  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560410;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 831  Schema:   QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000214  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560410;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:13:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 832  Schema:   QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000310  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560415;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 833  Schema:   QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560415;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 832  Schema:   QC_hit: No
# Query_time: 0.001738  Lock_time: 0.001549  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560415;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 833  Schema:   QC_hit: No
# Query_time: 0.002310  Lock_time: 0.002130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560415;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:13:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 846  Schema:   QC_hit: No
# Query_time: 0.000755  Lock_time: 0.000515  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560425;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 845  Schema:   QC_hit: No
# Query_time: 0.000699  Lock_time: 0.000400  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560425;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 845  Schema:   QC_hit: No
# Query_time: 0.002322  Lock_time: 0.002194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560425;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 846  Schema:   QC_hit: No
# Query_time: 0.000551  Lock_time: 0.000377  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560425;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2022-04-10  3:13:55 9 [Warning] 'proxies_priv' entry '@% root@onap-mariadb-galera-0' ignored in --skip-name-resolve mode.
# Time: 220410  3:13:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 850  Schema:   QC_hit: No
# Query_time: 0.000537  Lock_time: 0.000314  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560435;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 849  Schema:   QC_hit: No
# Query_time: 0.000699  Lock_time: 0.000607  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560435;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 849  Schema:   QC_hit: No
# Query_time: 0.003033  Lock_time: 0.002910  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560435;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 850  Schema:   QC_hit: No
# Query_time: 0.001070  Lock_time: 0.000734  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560435;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:14:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 853  Schema:   QC_hit: No
# Query_time: 0.001404  Lock_time: 0.001165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560440;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 853  Schema:   QC_hit: No
# Query_time: 0.080440  Lock_time: 0.080197  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560440;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:14:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 854  Schema:   QC_hit: No
# Query_time: 0.000412  Lock_time: 0.000282  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560445;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 855  Schema:   QC_hit: No
# Query_time: 0.000959  Lock_time: 0.000839  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560445;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 855  Schema:   QC_hit: No
# Query_time: 0.000562  Lock_time: 0.000411  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560445;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 854  Schema:   QC_hit: No
# Query_time: 0.001929  Lock_time: 0.001727  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560445;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:14:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 859  Schema:   QC_hit: No
# Query_time: 0.037200  Lock_time: 0.036968  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560455;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 858  Schema:   QC_hit: No
# Query_time: 0.044861  Lock_time: 0.044630  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560455;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 859  Schema:   QC_hit: No
# Query_time: 0.029340  Lock_time: 0.029090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560455;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 858  Schema:   QC_hit: No
# Query_time: 0.026735  Lock_time: 0.026554  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560455;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2022-04-10  3:14:21 7 [Warning] 'proxies_priv' entry '@% root@onap-mariadb-galera-0' ignored in --skip-name-resolve mode.
2022-04-10  3:14:21 2 [Warning] 'proxies_priv' entry '@% root@onap-mariadb-galera-0' ignored in --skip-name-resolve mode.
2022-04-10  3:14:21 863 [Warning] 'proxies_priv' entry '@% root@onap-mariadb-galera-0' ignored in --skip-name-resolve mode.
2022-04-10  3:14:21 864 [Warning] 'proxies_priv' entry '@% root@onap-mariadb-galera-0' ignored in --skip-name-resolve mode.
2022-04-10  3:14:22 2 [Warning] 'proxies_priv' entry '@% root@onap-mariadb-galera-0' ignored in --skip-name-resolve mode.
# Time: 220410  3:14:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 865  Schema:   QC_hit: No
# Query_time: 0.004033  Lock_time: 0.003864  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560465;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 866  Schema:   QC_hit: No
# Query_time: 0.002471  Lock_time: 0.002282  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560465;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 866  Schema:   QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000341  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560465;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 865  Schema:   QC_hit: No
# Query_time: 0.000492  Lock_time: 0.000320  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560465;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:14:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 869  Schema:   QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560470;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 869  Schema:   QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000241  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560470;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:14:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 870  Schema:   QC_hit: No
# Query_time: 0.001655  Lock_time: 0.000560  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560475;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 871  Schema:   QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000241  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560475;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 870  Schema:   QC_hit: No
# Query_time: 0.000625  Lock_time: 0.000429  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560475;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 871  Schema:   QC_hit: No
# Query_time: 0.000656  Lock_time: 0.000462  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560475;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:14:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 874  Schema:   QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000264  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560485;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 875  Schema:   QC_hit: No
# Query_time: 0.002624  Lock_time: 0.002492  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560485;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 874  Schema:   QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000260  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560485;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 875  Schema:   QC_hit: No
# Query_time: 0.000561  Lock_time: 0.000392  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560485;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:14:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 879  Schema:   QC_hit: No
# Query_time: 0.000479  Lock_time: 0.000336  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560495;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 878  Schema:   QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000368  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560495;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 878  Schema:   QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000243  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560495;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 879  Schema:   QC_hit: No
# Query_time: 0.000733  Lock_time: 0.000524  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560495;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:15:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 882  Schema:   QC_hit: No
# Query_time: 0.000777  Lock_time: 0.000643  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560500;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 882  Schema:   QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000323  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560500;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2022-04-10  3:15:04 7 [Warning] 'proxies_priv' entry '@% root@onap-mariadb-galera-0' ignored in --skip-name-resolve mode.
# Time: 220410  3:15:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 883  Schema:   QC_hit: No
# Query_time: 0.000997  Lock_time: 0.000885  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560505;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 883  Schema:   QC_hit: No
# Query_time: 0.001081  Lock_time: 0.000532  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560505;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 884  Schema:   QC_hit: No
# Query_time: 0.000589  Lock_time: 0.000287  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560505;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 884  Schema:   QC_hit: No
# Query_time: 0.000631  Lock_time: 0.000394  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560505;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:15:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 888  Schema:   QC_hit: No
# Query_time: 0.000510  Lock_time: 0.000396  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560515;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 887  Schema:   QC_hit: No
# Query_time: 0.000436  Lock_time: 0.000284  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560515;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 887  Schema:   QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000219  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560515;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 888  Schema:   QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000267  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560515;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:15:24
# User@Host: so_user[so_user] @  [10.233.65.220]
# Thread_id: 894  Schema: requestdb  QC_hit: No
# Query_time: 0.002676  Lock_time: 0.000631  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 92
use requestdb;
SET timestamp=1649560524;
select table_name from information_schema.TABLES where table_schema = database() and table_type = 'SEQUENCE';
# Time: 220410  3:15:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 898  Schema:   QC_hit: No
# Query_time: 0.001721  Lock_time: 0.001433  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560525;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 899  Schema:   QC_hit: No
# Query_time: 0.002443  Lock_time: 0.002272  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560525;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 898  Schema:   QC_hit: No
# Query_time: 0.001918  Lock_time: 0.001730  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560525;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 899  Schema:   QC_hit: No
# Query_time: 0.008361  Lock_time: 0.008130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560525;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2022-04-10  3:15:25 9 [Warning] 'proxies_priv' entry '@% root@onap-mariadb-galera-0' ignored in --skip-name-resolve mode.
# Time: 220410  3:15:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 902  Schema:   QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000241  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560530;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 902  Schema:   QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000297  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560530;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2022-04-10  3:15:30 0 [Note] WSREP: declaring 1e3d9f2a-b977 at tcp://10.233.70.202:4567 stable
2022-04-10  3:15:30 0 [Note] WSREP: forgetting 3c1f6c0f-8990 (tcp://10.233.71.37:4567)
2022-04-10  3:15:30 0 [Note] WSREP: Node 1096a3e3-b660 state prim
2022-04-10  3:15:30 0 [Note] WSREP: view(view_id(PRIM,1096a3e3-b660,4) memb {
	1096a3e3-b660,0
	1e3d9f2a-b977,0
} joined {
} left {
} partitioned {
	3c1f6c0f-8990,0
})
2022-04-10  3:15:30 0 [Note] WSREP: save pc into disk
2022-04-10  3:15:30 0 [Note] WSREP: forgetting 3c1f6c0f-8990 (tcp://10.233.71.37:4567)
2022-04-10  3:15:30 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 2
2022-04-10  3:15:30 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 7a5941cd-b87c-11ec-8bc9-87a9a02c6d96
2022-04-10  3:15:30 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 7a5941cd-b87c-11ec-8bc9-87a9a02c6d96
2022-04-10  3:15:30 0 [Note] WSREP: STATE EXCHANGE: got state msg: 7a5941cd-b87c-11ec-8bc9-87a9a02c6d96 from 0 (onap-mariadb-galera-0)
2022-04-10  3:15:30 0 [Note] WSREP: STATE EXCHANGE: got state msg: 7a5941cd-b87c-11ec-8bc9-87a9a02c6d96 from 1 (onap-mariadb-galera-1)
2022-04-10  3:15:30 0 [Note] WSREP: Quorum results:
	version    = 6,
	component  = PRIMARY,
	conf_id    = 3,
	members    = 2/2 (joined/total),
	act_id     = 3312,
	last_appl. = 3214,
	protocols  = 2/10/4 (gcs/repl/appl),
	vote policy= 0,
	group UUID = 0737dde7-b878-11ec-b743-a667e203f25f
2022-04-10  3:15:30 0 [Note] WSREP: Flow-control interval: [23, 23]
2022-04-10  3:15:30 6 [Note] WSREP: ####### processing CC 3313, local, ordered
2022-04-10  3:15:31 6 [Note] WSREP: ####### My UUID: 1096a3e3-b878-11ec-b660-0f6408ce73ca
2022-04-10  3:15:31 6 [Note] WSREP: Skipping cert index reset
2022-04-10  3:15:31 6 [Note] WSREP: REPL Protocols: 10 (5)
2022-04-10  3:15:31 6 [Note] WSREP: ####### Adjusting cert position: 3312 -> 3313
2022-04-10  3:15:31 0 [Note] WSREP: Service thread queue flushed.
2022-04-10  3:15:31 6 [Note] WSREP: ================================================
View:
  id: 0737dde7-b878-11ec-b743-a667e203f25f:3313
  status: primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(2):
	0: 1096a3e3-b878-11ec-b660-0f6408ce73ca, onap-mariadb-galera-0
	1: 1e3d9f2a-b878-11ec-b977-9a534b39686e, onap-mariadb-galera-1
=================================================
2022-04-10  3:15:31 6 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  3:15:31 6 [Note] WSREP: Lowest cert index boundary for CC from group: 3215
2022-04-10  3:15:31 6 [Note] WSREP: Min available from gcache for CC from group: 734
# Time: 220410  3:15:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 905  Schema:   QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000253  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560535;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 904  Schema:   QC_hit: No
# Query_time: 0.001034  Lock_time: 0.000930  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560535;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 904  Schema:   QC_hit: No
# Query_time: 0.001260  Lock_time: 0.001119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560535;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 905  Schema:   QC_hit: No
# Query_time: 0.003916  Lock_time: 0.003735  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560535;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2022-04-10  3:15:36 0 [Note] WSREP:  cleaning up 3c1f6c0f-8990 (tcp://10.233.71.37:4567)
2022-04-10  3:15:43 0 [Note] WSREP: (1096a3e3-b660, 'tcp://0.0.0.0:4567') connection established to 81bf2cac-8dc7 tcp://10.233.71.37:4567
2022-04-10  3:15:43 0 [Note] WSREP: (1096a3e3-b660, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: 
2022-04-10  3:15:43 0 [Note] WSREP: declaring 1e3d9f2a-b977 at tcp://10.233.70.202:4567 stable
2022-04-10  3:15:43 0 [Note] WSREP: declaring 81bf2cac-8dc7 at tcp://10.233.71.37:4567 stable
2022-04-10  3:15:43 0 [Note] WSREP: Node 1096a3e3-b660 state prim
2022-04-10  3:15:43 0 [Note] WSREP: view(view_id(PRIM,1096a3e3-b660,5) memb {
	1096a3e3-b660,0
	1e3d9f2a-b977,0
	81bf2cac-8dc7,0
} joined {
} left {
} partitioned {
})
2022-04-10  3:15:43 0 [Note] WSREP: save pc into disk
2022-04-10  3:15:43 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 3
2022-04-10  3:15:43 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 81e37b0f-b87c-11ec-8b75-8ae7f4a8b855
2022-04-10  3:15:43 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 81e37b0f-b87c-11ec-8b75-8ae7f4a8b855
2022-04-10  3:15:43 0 [Note] WSREP: STATE EXCHANGE: got state msg: 81e37b0f-b87c-11ec-8b75-8ae7f4a8b855 from 1 (onap-mariadb-galera-1)
2022-04-10  3:15:43 0 [Note] WSREP: STATE EXCHANGE: got state msg: 81e37b0f-b87c-11ec-8b75-8ae7f4a8b855 from 0 (onap-mariadb-galera-0)
2022-04-10  3:15:44 0 [Note] WSREP: STATE EXCHANGE: got state msg: 81e37b0f-b87c-11ec-8b75-8ae7f4a8b855 from 2 (onap-mariadb-galera-2)
2022-04-10  3:15:44 0 [Note] WSREP: Quorum results:
	version    = 6,
	component  = PRIMARY,
	conf_id    = 4,
	members    = 2/3 (joined/total),
	act_id     = 3315,
	last_appl. = 3214,
	protocols  = 2/10/4 (gcs/repl/appl),
	vote policy= 0,
	group UUID = 0737dde7-b878-11ec-b743-a667e203f25f
2022-04-10  3:15:44 0 [Note] WSREP: Flow-control interval: [28, 28]
2022-04-10  3:15:44 9 [Note] WSREP: ####### processing CC 3316, local, ordered
2022-04-10  3:15:44 9 [Note] WSREP: ####### My UUID: 1096a3e3-b878-11ec-b660-0f6408ce73ca
2022-04-10  3:15:44 9 [Note] WSREP: Skipping cert index reset
2022-04-10  3:15:44 9 [Note] WSREP: REPL Protocols: 10 (5)
2022-04-10  3:15:44 9 [Note] WSREP: ####### Adjusting cert position: 3315 -> 3316
2022-04-10  3:15:44 0 [Note] WSREP: Service thread queue flushed.
2022-04-10  3:15:44 9 [Note] WSREP: ================================================
View:
  id: 0737dde7-b878-11ec-b743-a667e203f25f:3316
  status: primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(3):
	0: 1096a3e3-b878-11ec-b660-0f6408ce73ca, onap-mariadb-galera-0
	1: 1e3d9f2a-b878-11ec-b977-9a534b39686e, onap-mariadb-galera-1
	2: 81bf2cac-b87c-11ec-8dc7-ab143d2e6d49, onap-mariadb-galera-2
=================================================
2022-04-10  3:15:44 9 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-04-10  3:15:44 9 [Note] WSREP: Lowest cert index boundary for CC from group: 3215
2022-04-10  3:15:44 9 [Note] WSREP: Min available from gcache for CC from group: 734
# Time: 220410  3:15:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 909  Schema:   QC_hit: No
# Query_time: 0.003851  Lock_time: 0.003677  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560545;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 910  Schema:   QC_hit: No
# Query_time: 0.004711  Lock_time: 0.004434  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560545;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 910  Schema:   QC_hit: No
# Query_time: 0.001805  Lock_time: 0.001685  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560545;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 909  Schema:   QC_hit: No
# Query_time: 0.000438  Lock_time: 0.000280  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560545;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2022-04-10  3:15:46 0 [Note] WSREP: (1096a3e3-b660, 'tcp://0.0.0.0:4567') turning message relay requesting off
2022-04-10  3:15:47 0 [Note] WSREP: Member 2.0 (onap-mariadb-galera-2) requested state transfer from '*any*'. Selected 1.0 (onap-mariadb-galera-1)(SYNCED) as donor.
2022-04-10  3:15:48 0 [Note] WSREP: 1.0 (onap-mariadb-galera-1): State transfer to 2.0 (onap-mariadb-galera-2) complete.
2022-04-10  3:15:48 0 [Note] WSREP: Member 1.0 (onap-mariadb-galera-1) synced with group.
# Time: 220410  3:15:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 914  Schema:   QC_hit: No
# Query_time: 0.000805  Lock_time: 0.000503  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560555;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 913  Schema:   QC_hit: No
# Query_time: 0.002289  Lock_time: 0.002131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560555;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 914  Schema:   QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000299  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560555;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 913  Schema:   QC_hit: No
# Query_time: 0.000865  Lock_time: 0.000687  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560555;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2022-04-10  3:15:59 0 [Note] WSREP: 2.0 (onap-mariadb-galera-2): State transfer from 1.0 (onap-mariadb-galera-1) complete.
2022-04-10  3:15:59 0 [Note] WSREP: Member 2.0 (onap-mariadb-galera-2) synced with group.
# Time: 220410  3:16:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 917  Schema:   QC_hit: No
# Query_time: 0.001980  Lock_time: 0.001669  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560560;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 917  Schema:   QC_hit: No
# Query_time: 0.004227  Lock_time: 0.004023  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560560;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:16:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 918  Schema:   QC_hit: No
# Query_time: 0.000934  Lock_time: 0.000775  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560565;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 918  Schema:   QC_hit: No
# Query_time: 0.001778  Lock_time: 0.001563  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560565;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 919  Schema:   QC_hit: No
# Query_time: 0.004499  Lock_time: 0.004358  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560565;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 919  Schema:   QC_hit: No
# Query_time: 0.000960  Lock_time: 0.000732  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560565;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:16:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 922  Schema:   QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000222  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560575;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 923  Schema:   QC_hit: No
# Query_time: 0.004374  Lock_time: 0.004125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560575;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 922  Schema:   QC_hit: No
# Query_time: 0.000631  Lock_time: 0.000502  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560575;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 923  Schema:   QC_hit: No
# Query_time: 0.000904  Lock_time: 0.000775  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560575;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:16:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 926  Schema:   QC_hit: No
# Query_time: 0.000606  Lock_time: 0.000394  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560585;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 927  Schema:   QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560585;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 926  Schema:   QC_hit: No
# Query_time: 0.001376  Lock_time: 0.000274  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560585;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 927  Schema:   QC_hit: No
# Query_time: 0.003561  Lock_time: 0.003343  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560585;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:16:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 930  Schema:   QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000325  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560590;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 930  Schema:   QC_hit: No
# Query_time: 0.001016  Lock_time: 0.000726  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560590;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:16:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 931  Schema:   QC_hit: No
# Query_time: 0.001059  Lock_time: 0.000900  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560595;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 932  Schema:   QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000401  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560595;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 932  Schema:   QC_hit: No
# Query_time: 0.000835  Lock_time: 0.000591  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560595;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 931  Schema:   QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000271  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560595;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:16:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 937  Schema:   QC_hit: No
# Query_time: 0.001302  Lock_time: 0.001155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560605;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 938  Schema:   QC_hit: No
# Query_time: 0.000980  Lock_time: 0.000538  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560605;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 937  Schema:   QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000343  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560605;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 938  Schema:   QC_hit: No
# Query_time: 0.000577  Lock_time: 0.000388  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560605;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:16:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 942  Schema:   QC_hit: No
# Query_time: 0.000949  Lock_time: 0.000564  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560615;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 942  Schema:   QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000366  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560615;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 941  Schema:   QC_hit: No
# Query_time: 0.008832  Lock_time: 0.008243  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560615;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 941  Schema:   QC_hit: No
# Query_time: 0.007481  Lock_time: 0.007331  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560615;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:17:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 945  Schema:   QC_hit: No
# Query_time: 0.001247  Lock_time: 0.001130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560620;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 945  Schema:   QC_hit: No
# Query_time: 0.004261  Lock_time: 0.004039  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560620;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:17:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 946  Schema:   QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560625;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 947  Schema:   QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560625;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 946  Schema:   QC_hit: No
# Query_time: 0.001302  Lock_time: 0.001097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560625;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 947  Schema:   QC_hit: No
# Query_time: 0.001246  Lock_time: 0.000727  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560625;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:17:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 950  Schema:   QC_hit: No
# Query_time: 0.002608  Lock_time: 0.002142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560635;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 951  Schema:   QC_hit: No
# Query_time: 0.004916  Lock_time: 0.004721  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560635;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 951  Schema:   QC_hit: No
# Query_time: 0.000643  Lock_time: 0.000441  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560635;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 950  Schema:   QC_hit: No
# Query_time: 0.000770  Lock_time: 0.000398  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560635;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:17:18
# User@Host: ejbca[ejbca] @  [10.233.69.80]
# Thread_id: 908  Schema: ejbca  QC_hit: No
# Query_time: 0.000712  Lock_time: 0.000372  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 157
use ejbca;
SET timestamp=1649560638;
select cadata0_.cAId as col_0_0_, cadata0_.name as col_1_0_ from CAData cadata0_;
# User@Host: ejbca[ejbca] @  [10.233.69.80]
# Thread_id: 908  Schema: ejbca  QC_hit: No
# Query_time: 0.021928  Lock_time: 0.021502  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 91
SET timestamp=1649560638;
select internalke0_.id as col_0_0_ from InternalKeyBindingData internalke0_ where internalke0_.keyBindingType='OcspKeyBinding';
# Time: 220410  3:17:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 954  Schema:   QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000250  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560645;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 955  Schema:   QC_hit: No
# Query_time: 0.003337  Lock_time: 0.003152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560645;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 954  Schema:   QC_hit: No
# Query_time: 0.002667  Lock_time: 0.002478  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560645;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 955  Schema:   QC_hit: No
# Query_time: 0.002434  Lock_time: 0.002273  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560645;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:17:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 958  Schema:   QC_hit: No
# Query_time: 0.000542  Lock_time: 0.000326  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560650;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 958  Schema:   QC_hit: No
# Query_time: 0.000404  Lock_time: 0.000271  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560650;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:17:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 959  Schema:   QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000255  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560655;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 960  Schema:   QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000204  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560655;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 959  Schema:   QC_hit: No
# Query_time: 0.000819  Lock_time: 0.000351  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560655;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 960  Schema:   QC_hit: No
# Query_time: 0.000724  Lock_time: 0.000552  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560655;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:17:49
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 963  Schema:   QC_hit: No
# Query_time: 0.005312  Lock_time: 0.005117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560669;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 964  Schema:   QC_hit: No
# Query_time: 0.004800  Lock_time: 0.003591  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560669;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 964  Schema:   QC_hit: No
# Query_time: 0.008197  Lock_time: 0.007826  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560669;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 963  Schema:   QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000327  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560669;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:17:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 968  Schema:   QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560675;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 967  Schema:   QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000265  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560675;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 968  Schema:   QC_hit: No
# Query_time: 0.001747  Lock_time: 0.001639  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560675;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 967  Schema:   QC_hit: No
# Query_time: 0.000505  Lock_time: 0.000307  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560675;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:18:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 980  Schema:   QC_hit: No
# Query_time: 0.000990  Lock_time: 0.000680  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560680;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 980  Schema:   QC_hit: No
# Query_time: 0.003832  Lock_time: 0.003649  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560680;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:18:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 981  Schema:   QC_hit: No
# Query_time: 0.000799  Lock_time: 0.000499  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560685;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 982  Schema:   QC_hit: No
# Query_time: 0.000623  Lock_time: 0.000511  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560685;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 981  Schema:   QC_hit: No
# Query_time: 0.003143  Lock_time: 0.002996  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560685;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 982  Schema:   QC_hit: No
# Query_time: 0.001080  Lock_time: 0.000982  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560685;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:18:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 988  Schema:   QC_hit: No
# Query_time: 0.001001  Lock_time: 0.000766  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560695;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 989  Schema:   QC_hit: No
# Query_time: 0.000922  Lock_time: 0.000682  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560695;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 988  Schema:   QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000375  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560695;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 989  Schema:   QC_hit: No
# Query_time: 0.005729  Lock_time: 0.005524  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560695;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:18:25
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.016858  Lock_time: 0.015192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 92
use nfvo;
SET timestamp=1649560705;
SELECT event_name FROM information_schema.events LIMIT 1;
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.000476  Lock_time: 0.000303  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1649560705;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 995  Schema:   QC_hit: No
# Query_time: 0.000593  Lock_time: 0.000374  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560705;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 995  Schema:   QC_hit: No
# Query_time: 0.003519  Lock_time: 0.003313  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560705;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 996  Schema:   QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000321  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560705;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 996  Schema:   QC_hit: No
# Query_time: 0.002241  Lock_time: 0.002095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560705;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.005290  Lock_time: 0.001457  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 124
SET timestamp=1649560705;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='nfvo' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.000561  Lock_time: 0.000371  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1649560705;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.003647  Lock_time: 0.000564  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 514
SET timestamp=1649560705;
SELECT TABLE_SCHEMA TABLE_CAT, NULL  TABLE_SCHEM,  TABLE_NAME, IF(TABLE_TYPE='BASE TABLE' or TABLE_TYPE='SYSTEM VERSIONED', 'TABLE', TABLE_TYPE) as TABLE_TYPE, TABLE_COMMENT REMARKS, NULL TYPE_CAT, NULL TYPE_SCHEM, NULL TYPE_NAME, NULL SELF_REFERENCING_COL_NAME,  NULL REF_GENERATION FROM INFORMATION_SCHEMA.TABLES  WHERE (TABLE_SCHEMA = 'nfvo') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.012336  Lock_time: 0.012136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1649560705;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.006435  Lock_time: 0.001878  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 514
SET timestamp=1649560705;
SELECT TABLE_SCHEMA TABLE_CAT, NULL  TABLE_SCHEM,  TABLE_NAME, IF(TABLE_TYPE='BASE TABLE' or TABLE_TYPE='SYSTEM VERSIONED', 'TABLE', TABLE_TYPE) as TABLE_TYPE, TABLE_COMMENT REMARKS, NULL TYPE_CAT, NULL TYPE_SCHEM, NULL TYPE_NAME, NULL SELF_REFERENCING_COL_NAME,  NULL REF_GENERATION FROM INFORMATION_SCHEMA.TABLES  WHERE (TABLE_SCHEMA = 'nfvo') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.000675  Lock_time: 0.000369  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 124
SET timestamp=1649560705;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='nfvo' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.020073  Lock_time: 0.019029  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 57
SET timestamp=1649560705;
SELECT SUM(found) FROM ((SELECT 1 as found FROM information_schema.tables WHERE table_schema='nfvo') UNION ALL (SELECT 1 as found FROM information_schema.views WHERE table_schema='nfvo' LIMIT 1) UNION ALL (SELECT 1 as found FROM information_schema.table_constraints WHERE table_schema='nfvo' LIMIT 1) UNION ALL (SELECT 1 as found FROM information_schema.triggers WHERE event_object_schema='nfvo'  LIMIT 1) UNION ALL (SELECT 1 as found FROM information_schema.routines WHERE routine_schema='nfvo' LIMIT 1) UNION ALL (SELECT 1 as found FROM information_schema.events WHERE event_schema='nfvo' LIMIT 1)) as all_found;
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.000765  Lock_time: 0.000412  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 124
SET timestamp=1649560705;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='nfvo' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.000612  Lock_time: 0.000466  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1649560705;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.001917  Lock_time: 0.000298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 514
SET timestamp=1649560705;
SELECT TABLE_SCHEMA TABLE_CAT, NULL  TABLE_SCHEM,  TABLE_NAME, IF(TABLE_TYPE='BASE TABLE' or TABLE_TYPE='SYSTEM VERSIONED', 'TABLE', TABLE_TYPE) as TABLE_TYPE, TABLE_COMMENT REMARKS, NULL TYPE_CAT, NULL TYPE_SCHEM, NULL TYPE_NAME, NULL SELF_REFERENCING_COL_NAME,  NULL REF_GENERATION FROM INFORMATION_SCHEMA.TABLES  WHERE (TABLE_SCHEMA = 'nfvo') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.000494  Lock_time: 0.000335  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1649560705;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.006626  Lock_time: 0.000404  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 558
SET timestamp=1649560705;
SELECT TABLE_SCHEMA TABLE_CAT, NULL  TABLE_SCHEM,  TABLE_NAME, IF(TABLE_TYPE='BASE TABLE' or TABLE_TYPE='SYSTEM VERSIONED', 'TABLE', TABLE_TYPE) as TABLE_TYPE, TABLE_COMMENT REMARKS, NULL TYPE_CAT, NULL TYPE_SCHEM, NULL TYPE_NAME, NULL SELF_REFERENCING_COL_NAME,  NULL REF_GENERATION FROM INFORMATION_SCHEMA.TABLES  WHERE (TABLE_SCHEMA = 'nfvo') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.000558  Lock_time: 0.000294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1649560705;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000296  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1649560705;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.002643  Lock_time: 0.001020  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 558
SET timestamp=1649560705;
SELECT TABLE_SCHEMA TABLE_CAT, NULL  TABLE_SCHEM,  TABLE_NAME, IF(TABLE_TYPE='BASE TABLE' or TABLE_TYPE='SYSTEM VERSIONED', 'TABLE', TABLE_TYPE) as TABLE_TYPE, TABLE_COMMENT REMARKS, NULL TYPE_CAT, NULL TYPE_SCHEM, NULL TYPE_NAME, NULL SELF_REFERENCING_COL_NAME,  NULL REF_GENERATION FROM INFORMATION_SCHEMA.TABLES  WHERE (TABLE_SCHEMA = 'nfvo') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000295  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1649560705;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.000761  Lock_time: 0.000462  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 124
SET timestamp=1649560705;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='nfvo' LIMIT 1);
# Time: 220410  3:18:26
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.000628  Lock_time: 0.000447  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1649560706;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.002763  Lock_time: 0.000326  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 558
SET timestamp=1649560706;
SELECT TABLE_SCHEMA TABLE_CAT, NULL  TABLE_SCHEM,  TABLE_NAME, IF(TABLE_TYPE='BASE TABLE' or TABLE_TYPE='SYSTEM VERSIONED', 'TABLE', TABLE_TYPE) as TABLE_TYPE, TABLE_COMMENT REMARKS, NULL TYPE_CAT, NULL TYPE_SCHEM, NULL TYPE_NAME, NULL SELF_REFERENCING_COL_NAME,  NULL REF_GENERATION FROM INFORMATION_SCHEMA.TABLES  WHERE (TABLE_SCHEMA = 'nfvo') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1649560706;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.001580  Lock_time: 0.000248  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 558
SET timestamp=1649560706;
SELECT TABLE_SCHEMA TABLE_CAT, NULL  TABLE_SCHEM,  TABLE_NAME, IF(TABLE_TYPE='BASE TABLE' or TABLE_TYPE='SYSTEM VERSIONED', 'TABLE', TABLE_TYPE) as TABLE_TYPE, TABLE_COMMENT REMARKS, NULL TYPE_CAT, NULL TYPE_SCHEM, NULL TYPE_NAME, NULL SELF_REFERENCING_COL_NAME,  NULL REF_GENERATION FROM INFORMATION_SCHEMA.TABLES  WHERE (TABLE_SCHEMA = 'nfvo') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 926
SET timestamp=1649560706;
SELECT * FROM `nfvo`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.001632  Lock_time: 0.000352  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 558
SET timestamp=1649560706;
SELECT TABLE_SCHEMA TABLE_CAT, NULL  TABLE_SCHEM,  TABLE_NAME, IF(TABLE_TYPE='BASE TABLE' or TABLE_TYPE='SYSTEM VERSIONED', 'TABLE', TABLE_TYPE) as TABLE_TYPE, TABLE_COMMENT REMARKS, NULL TYPE_CAT, NULL TYPE_SCHEM, NULL TYPE_NAME, NULL SELF_REFERENCING_COL_NAME,  NULL REF_GENERATION FROM INFORMATION_SCHEMA.TABLES  WHERE (TABLE_SCHEMA = 'nfvo') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000366  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1649560706;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1649560706;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.002067  Lock_time: 0.000573  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 558
SET timestamp=1649560706;
SELECT TABLE_SCHEMA TABLE_CAT, NULL  TABLE_SCHEM,  TABLE_NAME, IF(TABLE_TYPE='BASE TABLE' or TABLE_TYPE='SYSTEM VERSIONED', 'TABLE', TABLE_TYPE) as TABLE_TYPE, TABLE_COMMENT REMARKS, NULL TYPE_CAT, NULL TYPE_SCHEM, NULL TYPE_NAME, NULL SELF_REFERENCING_COL_NAME,  NULL REF_GENERATION FROM INFORMATION_SCHEMA.TABLES  WHERE (TABLE_SCHEMA = 'nfvo') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.000592  Lock_time: 0.000377  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1649560706;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# Time: 220410  3:18:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 999  Schema:   QC_hit: No
# Query_time: 0.000732  Lock_time: 0.000577  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560710;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 999  Schema:   QC_hit: No
# Query_time: 0.000508  Lock_time: 0.000335  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560710;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:18:33
# User@Host: so_admin[so_admin] @  [10.233.71.111]
# Thread_id: 993  Schema: nfvo  QC_hit: No
# Query_time: 0.016109  Lock_time: 0.000346  Rows_sent: 0  Rows_examined: 6
# Rows_affected: 0  Bytes_sent: 92
SET timestamp=1649560713;
select table_name from information_schema.TABLES where table_schema = database() and table_type = 'SEQUENCE';
# Time: 220410  3:18:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1001  Schema:   QC_hit: No
# Query_time: 0.001922  Lock_time: 0.001726  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560715;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1000  Schema:   QC_hit: No
# Query_time: 0.003653  Lock_time: 0.003419  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560715;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1000  Schema:   QC_hit: No
# Query_time: 0.001951  Lock_time: 0.001174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560715;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1001  Schema:   QC_hit: No
# Query_time: 0.000816  Lock_time: 0.000670  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560715;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:18:47
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1010  Schema:   QC_hit: No
# Query_time: 1.033134  Lock_time: 1.032889  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560727;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1009  Schema:   QC_hit: No
# Query_time: 0.999669  Lock_time: 0.999543  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560727;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2022-04-10  3:18:47 1013 [Warning] Aborted connection 1013 to db: 'requestdb' user: 'so_user' host: '10.233.71.233' (Got an error reading communication packets)
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1010  Schema:   QC_hit: No
# Query_time: 0.593250  Lock_time: 0.593057  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560727;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1009  Schema:   QC_hit: No
# Query_time: 0.591347  Lock_time: 0.591167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560727;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 220410  3:18:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1018  Schema:   QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560735;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1018  Schema:   QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000250  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560735;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1019  Schema:   QC_hit: No
# Query_time: 0.002112  Lock_time: 0.001886  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560735;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1019  Schema:   QC_hit: No
# Query_time: 0.002592  Lock_time: 0.002408  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560735;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:19:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1022  Schema:   QC_hit: No
# Query_time: 0.000538  Lock_time: 0.000341  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560740;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1022  Schema:   QC_hit: No
# Query_time: 0.001103  Lock_time: 0.000995  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560740;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:19:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1024  Schema:   QC_hit: No
# Query_time: 0.000511  Lock_time: 0.000340  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560745;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1023  Schema:   QC_hit: No
# Query_time: 0.000521  Lock_time: 0.000348  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560745;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1023  Schema:   QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000282  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560745;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1024  Schema:   QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000238  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560745;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 220410  3:19:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000965  Lock_time: 0.000397  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1649560748;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:07.257444' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000682  Lock_time: 0.000275  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560749;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:09.182183' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003486  Lock_time: 0.003065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560750;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002398  Lock_time: 0.002018  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560751;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:11.175051' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001172  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560752;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 220410  3:19:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003038  Lock_time: 0.002251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560754;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 220410  3:19:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1029  Schema:   QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000336  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560755;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1028  Schema:   QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560755;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1028  Schema:   QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560755;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1029  Schema:   QC_hit: No
# Query_time: 0.001432  Lock_time: 0.001125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560755;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008484  Lock_time: 0.008130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560755;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:15.174539' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003155  Lock_time: 0.002845  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560756;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001217  Lock_time: 0.000295  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560757;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 220410  3:19:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000647  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560758;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:18.176557' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001160  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560759;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 220410  3:19:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560760;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:20.174527' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003187  Lock_time: 0.002254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560761;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 220410  3:19:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003527  Lock_time: 0.003114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560762;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000444  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560763;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:23.176938' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001016  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560764;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 220410  3:19:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1034  Schema:   QC_hit: No
# Query_time: 0.000657  Lock_time: 0.000447  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560765;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1033  Schema:   QC_hit: No
# Query_time: 0.000705  Lock_time: 0.000590  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560765;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1033  Schema:   QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000298  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560765;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1034  Schema:   QC_hit: No
# Query_time: 0.000650  Lock_time: 0.000434  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560765;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000609  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560765;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:25.173972' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002789  Lock_time: 0.002377  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560767;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000597  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560769;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1037  Schema:   QC_hit: No
# Query_time: 0.000978  Lock_time: 0.000836  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560770;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1037  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560770;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000627  Lock_time: 0.000259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560770;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560771;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000670  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560772;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000764  Lock_time: 0.000320  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560773;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:33.177886' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000983  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560774;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 220410  3:19:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1039  Schema:   QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000318  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560775;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1038  Schema:   QC_hit: No
# Query_time: 0.000584  Lock_time: 0.000313  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560775;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1038  Schema:   QC_hit: No
# Query_time: 0.001709  Lock_time: 0.000355  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560775;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1039  Schema:   QC_hit: No
# Query_time: 0.000740  Lock_time: 0.000520  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560775;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560775;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:35.174886' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.180051  Lock_time: 0.178882  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560777;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000915  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560777;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 220410  3:19:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.747978  Lock_time: 0.747706  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560780;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.746051  Lock_time: 0.745644  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560780;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:38.177646' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.109214  Lock_time: 0.108737  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560780;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:39.177248' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.044221  Lock_time: 0.043778  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560780;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.044340  Lock_time: 0.044033  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560780;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:40.17492' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.049838  Lock_time: 0.049001  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560780;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 220410  3:19:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001119  Lock_time: 0.000307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560781;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001809  Lock_time: 0.001623  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560781;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000966  Lock_time: 0.000488  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560781;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:41.175067' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000803  Lock_time: 0.000439  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560782;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:42.174053' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000997  Lock_time: 0.000637  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560782;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560782;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:42.175938' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.215836  Lock_time: 0.215495  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560784;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.213558  Lock_time: 0.213321  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560784;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:43.174501' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.218550  Lock_time: 0.217666  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560784;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000541  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560784;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:44.174819' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001023  Lock_time: 0.000828  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560784;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004457  Lock_time: 0.004032  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560784;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:44.175298' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1048  Schema:   QC_hit: No
# Query_time: 0.000623  Lock_time: 0.000348  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560785;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1048  Schema:   QC_hit: No
# Query_time: 0.002009  Lock_time: 0.001750  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560785;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1049  Schema:   QC_hit: No
# Query_time: 0.005972  Lock_time: 0.005177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560785;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1049  Schema:   QC_hit: No
# Query_time: 0.033608  Lock_time: 0.033393  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560785;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.015901  Lock_time: 0.014886  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560785;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.015581  Lock_time: 0.015345  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560785;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.015563  Lock_time: 0.015306  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560785;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:45.173967' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.018027  Lock_time: 0.017738  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560786;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.027340  Lock_time: 0.025652  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560786;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:46.174884' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003226  Lock_time: 0.002862  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560786;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:46.175205' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.930761  Lock_time: 0.930387  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560789;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.938775  Lock_time: 0.938554  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560789;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:47.17505' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.936322  Lock_time: 0.936118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560789;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:47.175452' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.334915  Lock_time: 0.334541  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560790;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.333594  Lock_time: 0.333252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560790;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:49.174597' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.336412  Lock_time: 0.335356  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560790;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.020043  Lock_time: 0.019702  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560790;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:50.174575' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.020489  Lock_time: 0.020163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560790;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.020740  Lock_time: 0.020040  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560790;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.022413  Lock_time: 0.022140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560790;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:50.175301' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.025234  Lock_time: 0.024939  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560791;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.025968  Lock_time: 0.025143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560791;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.037190  Lock_time: 0.036829  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560791;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:51.174612' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.085649  Lock_time: 0.085188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560792;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:52.174928' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.087058  Lock_time: 0.086657  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560792;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.085526  Lock_time: 0.085180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560792;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:52.176695' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560793;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000451  Lock_time: 0.000244  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560793;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:53.175538' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000311  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560793;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:53.176651' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001915  Lock_time: 0.001573  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560794;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560794;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:54.175435' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002512  Lock_time: 0.002270  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560794;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:54.173905' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1052  Schema:   QC_hit: No
# Query_time: 0.000623  Lock_time: 0.000403  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560795;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1053  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000093  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560795;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1053  Schema:   QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560795;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1052  Schema:   QC_hit: No
# Query_time: 0.000591  Lock_time: 0.000393  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560795;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000974  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560795;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000648  Lock_time: 0.000442  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560795;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560795;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:55.175171' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001025  Lock_time: 0.000696  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560796;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560796;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:56.174298' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000639  Lock_time: 0.000370  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560796;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:56.177189' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560797;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560797;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:57.173783' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560797;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:57.174116' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006853  Lock_time: 0.006674  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560798;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.010566  Lock_time: 0.009699  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560798;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000826  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560798;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:58.182813' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000554  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560798;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:58.182099' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:19:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560799;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560799;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:59.174824' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560799;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:19:59.174982' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1058  Schema:   QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000291  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560800;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1058  Schema:   QC_hit: No
# Query_time: 0.000556  Lock_time: 0.000398  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560800;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001019  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560800;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004451  Lock_time: 0.004194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560800;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:00.174153' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003965  Lock_time: 0.003583  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560800;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:00.174335' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004013  Lock_time: 0.003617  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560801;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003981  Lock_time: 0.003550  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560801;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:01.174853' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003478  Lock_time: 0.002971  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560801;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:01.177958' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002640  Lock_time: 0.002330  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560802;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001401  Lock_time: 0.000982  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560802;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:02.173656' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000699  Lock_time: 0.000360  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560802;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:02.174776' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001136  Lock_time: 0.000289  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560803;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560803;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.022197  Lock_time: 0.021854  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560803;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:03.175' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000698  Lock_time: 0.000387  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560804;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.013864  Lock_time: 0.013521  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560804;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:04.175643' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.013863  Lock_time: 0.013521  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560804;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:04.175924' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1059  Schema:   QC_hit: No
# Query_time: 0.000443  Lock_time: 0.000310  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560805;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1060  Schema:   QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000313  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560805;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1060  Schema:   QC_hit: No
# Query_time: 0.007068  Lock_time: 0.006910  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560805;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1059  Schema:   QC_hit: No
# Query_time: 0.004352  Lock_time: 0.004181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560805;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001897  Lock_time: 0.000465  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560805;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002401  Lock_time: 0.002084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560805;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001678  Lock_time: 0.001447  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560805;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:05.174685' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000695  Lock_time: 0.000320  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560806;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560806;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:06.175451' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000615  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560806;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:06.17391' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005502  Lock_time: 0.004835  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560807;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006947  Lock_time: 0.005974  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560807;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006019  Lock_time: 0.004145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560807;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:07.173697' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.007693  Lock_time: 0.007380  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560808;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001544  Lock_time: 0.001232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560808;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:08.174441' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000547  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560808;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:08.173987' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001150  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560809;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002250  Lock_time: 0.001991  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560809;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001159  Lock_time: 0.000322  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560809;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:09.173993' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000999  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560810;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560810;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.011778  Lock_time: 0.011329  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560810;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:10.17824' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000672  Lock_time: 0.000355  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560811;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560811;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:11.177148' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000671  Lock_time: 0.000296  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560811;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:11.176064' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000617  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560812;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560812;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:12.17559' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560812;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:12.174941' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000723  Lock_time: 0.000469  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560813;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000646  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560813;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:13.174903' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560813;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:13.175169' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002754  Lock_time: 0.002393  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560814;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000856  Lock_time: 0.000645  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560814;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:14.174117' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000876  Lock_time: 0.000502  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560814;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:14.173821' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1063  Schema:   QC_hit: No
# Query_time: 0.000743  Lock_time: 0.000611  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560815;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1063  Schema:   QC_hit: No
# Query_time: 0.000547  Lock_time: 0.000248  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560815;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1064  Schema:   QC_hit: No
# Query_time: 0.003031  Lock_time: 0.002843  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560815;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1064  Schema:   QC_hit: No
# Query_time: 0.006042  Lock_time: 0.005835  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560815;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004740  Lock_time: 0.004314  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560815;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:15.175401' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005773  Lock_time: 0.005269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560815;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.009056  Lock_time: 0.004478  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560815;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:15.174055' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003654  Lock_time: 0.002719  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560816;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000546  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560816;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003580  Lock_time: 0.003239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560816;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:16.179907' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000536  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560817;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560817;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:17.174096' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000608  Lock_time: 0.000299  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560817;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:17.17431' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000820  Lock_time: 0.000438  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560818;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:18.174808' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000583  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560818;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560818;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:18.178647' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560819;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560819;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:19.174834' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000505  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560819;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:19.174512' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001284  Lock_time: 0.000327  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560820;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000773  Lock_time: 0.000361  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560820;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001047  Lock_time: 0.000687  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560820;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:20.175151' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.011852  Lock_time: 0.011679  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560821;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.011500  Lock_time: 0.011271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560821;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:21.174629' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.011432  Lock_time: 0.011052  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560821;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:21.175582' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001128  Lock_time: 0.000254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560822;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000614  Lock_time: 0.000383  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560822;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560822;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:22.174114' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000705  Lock_time: 0.000495  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560822;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:22.173916' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000721  Lock_time: 0.000360  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560823;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:23.174326' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000731  Lock_time: 0.000366  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560823;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:23.175684' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000698  Lock_time: 0.000465  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560823;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000526  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560824;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000475  Lock_time: 0.000298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560824;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:24.175949' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560824;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:24.177147' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1067  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560825;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1068  Schema:   QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560825;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1068  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560825;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1067  Schema:   QC_hit: No
# Query_time: 0.000525  Lock_time: 0.000366  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560825;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000573  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560825;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560825;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:25.173935' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000700  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560825;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:25.175537' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.009077  Lock_time: 0.008748  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560826;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.009659  Lock_time: 0.008780  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560826;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000663  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560826;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:26.174858' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560827;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.019846  Lock_time: 0.019435  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560827;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:27.175771' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.013422  Lock_time: 0.013011  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560827;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:27.174222' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000501  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560828;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560828;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:28.178949' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004007  Lock_time: 0.003599  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560828;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:28.179085' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001568  Lock_time: 0.000347  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560829;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560829;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000565  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560829;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:29.173938' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1074  Schema:   QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000259  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560830;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1074  Schema:   QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000404  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560830;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001158  Lock_time: 0.000321  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560830;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560830;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:30.174593' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000664  Lock_time: 0.000381  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560830;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:30.174274' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560831;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560831;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:31.174534' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560831;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:31.174306' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000941  Lock_time: 0.000676  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560832;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000524  Lock_time: 0.000326  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560832;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:32.174374' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005237  Lock_time: 0.004825  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560832;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:32.176086' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001647  Lock_time: 0.001390  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560833;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:33.174179' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002154  Lock_time: 0.001863  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560833;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000860  Lock_time: 0.000588  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560833;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:33.173859' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000913  Lock_time: 0.000616  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560834;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000496  Lock_time: 0.000294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560834;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:34.174484' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000710  Lock_time: 0.000334  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560834;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:34.173458' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1075  Schema:   QC_hit: No
# Query_time: 0.003297  Lock_time: 0.003149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560835;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1076  Schema:   QC_hit: No
# Query_time: 0.003443  Lock_time: 0.003280  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560835;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1076  Schema:   QC_hit: No
# Query_time: 0.002787  Lock_time: 0.002647  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560835;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1075  Schema:   QC_hit: No
# Query_time: 0.003575  Lock_time: 0.003353  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560835;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001102  Lock_time: 0.000279  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560835;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001367  Lock_time: 0.001151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560835;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001182  Lock_time: 0.000909  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560835;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:35.173874' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001118  Lock_time: 0.000323  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560836;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000399  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560836;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000873  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560836;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:36.176393' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001110  Lock_time: 0.000342  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560837;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560837;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:37.175437' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560837;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:37.174601' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560837;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002232  Lock_time: 0.002021  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560838;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560838;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:38.17416' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000535  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560838;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:38.176729' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000901  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560839;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000510  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560839;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560839;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:39.174093' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001164  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560840;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000548  Lock_time: 0.000271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560840;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003092  Lock_time: 0.002708  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560840;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:40.175569' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005202  Lock_time: 0.004757  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560840;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:40.174735' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000525  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560841;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:41.174067' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560841;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560841;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:41.173758' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001176  Lock_time: 0.000388  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560842;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.009025  Lock_time: 0.008666  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560842;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004429  Lock_time: 0.004070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560842;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:42.174767' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000617  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560843;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000575  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560843;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:43.175443' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000653  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560843;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:43.174634' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002720  Lock_time: 0.002392  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560844;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:44.173877' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003691  Lock_time: 0.003368  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560844;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001904  Lock_time: 0.001668  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560844;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:44.173625' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1080  Schema:   QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000201  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560845;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1079  Schema:   QC_hit: No
# Query_time: 0.001301  Lock_time: 0.000256  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560845;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1079  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560845;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1080  Schema:   QC_hit: No
# Query_time: 0.000524  Lock_time: 0.000336  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560845;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001327  Lock_time: 0.000521  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560845;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560845;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003878  Lock_time: 0.003494  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560845;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:45.176019' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005971  Lock_time: 0.005302  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560845;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:45.173858' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000568  Lock_time: 0.000296  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560846;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008128  Lock_time: 0.007725  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560846;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:46.173663' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006898  Lock_time: 0.006616  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560846;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:46.174331' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001141  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560847;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000342  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560847;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000494  Lock_time: 0.000240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560847;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:47.174774' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001072  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560848;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001328  Lock_time: 0.000905  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560848;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:48.185862' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003543  Lock_time: 0.003121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560848;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:48.174468' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002432  Lock_time: 0.001567  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560849;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002793  Lock_time: 0.002599  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560849;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001448  Lock_time: 0.001211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560849;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:49.176576' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003400  Lock_time: 0.003033  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560850;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560850;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:50.175977' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000276  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560850;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:50.174932' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001335  Lock_time: 0.000322  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560851;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560851;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560851;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:51.174634' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000525  Lock_time: 0.000222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560852;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003010  Lock_time: 0.002709  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560852;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:52.174616' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003181  Lock_time: 0.002889  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560852;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:52.174997' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000953  Lock_time: 0.000263  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560853;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005254  Lock_time: 0.004496  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560853;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002543  Lock_time: 0.001710  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560853;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:53.17439' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000465  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560853;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:53.175352' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001085  Lock_time: 0.000310  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560854;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560854;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560854;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:54.173972' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1084  Schema:   QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000253  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560855;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1083  Schema:   QC_hit: No
# Query_time: 0.001347  Lock_time: 0.001198  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560855;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1084  Schema:   QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000270  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560855;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1083  Schema:   QC_hit: No
# Query_time: 0.001509  Lock_time: 0.001327  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560855;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560855;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000490  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560855;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:55.174337' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000261  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560855;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:55.175004' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560856;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001029  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560856;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560856;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:56.176799' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.007118  Lock_time: 0.005444  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560857;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000669  Lock_time: 0.000420  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560857;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560857;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:57.174654' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000615  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560858;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560858;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:58.174924' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560858;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:58.189115' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:20:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001084  Lock_time: 0.000291  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560859;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560859;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:59.175569' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560859;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:20:59.175747' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1087  Schema:   QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000270  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560860;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1087  Schema:   QC_hit: No
# Query_time: 0.000975  Lock_time: 0.000806  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560860;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000642  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560860;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000632  Lock_time: 0.000277  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560860;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:00.175082' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560860;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:00.175881' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002074  Lock_time: 0.001817  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560861;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000780  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560861;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:01.174997' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560861;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:01.17404' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000561  Lock_time: 0.000269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560862;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001866  Lock_time: 0.001590  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560862;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:02.176018' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000482  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560862;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:02.176521' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001014  Lock_time: 0.000229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560863;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001573  Lock_time: 0.001342  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560863;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000233  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560863;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:03.174134' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001576  Lock_time: 0.001343  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560863;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:03.175154' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000549  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560864;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560864;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:04.172113' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560864;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:04.172874' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1088  Schema:   QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000198  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560865;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1089  Schema:   QC_hit: No
# Query_time: 0.000507  Lock_time: 0.000389  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560865;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1089  Schema:   QC_hit: No
# Query_time: 0.000750  Lock_time: 0.000588  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560865;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1088  Schema:   QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000492  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560865;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001046  Lock_time: 0.000265  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560865;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560865;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560865;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:05.173809' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000506  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560866;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001681  Lock_time: 0.001447  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560866;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:06.175179' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000482  Lock_time: 0.000264  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560866;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:06.174449' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001055  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560867;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000490  Lock_time: 0.000308  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560867;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000436  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560867;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:07.174808' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560867;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:07.174557' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008759  Lock_time: 0.007894  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560868;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.012974  Lock_time: 0.011546  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560868;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.011056  Lock_time: 0.009963  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560868;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:08.179348' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005472  Lock_time: 0.005175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560869;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.019544  Lock_time: 0.019100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560869;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:09.17559' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.018558  Lock_time: 0.018114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560869;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:09.175813' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.014975  Lock_time: 0.014486  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560870;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.014311  Lock_time: 0.014040  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560870;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:10.174369' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.014276  Lock_time: 0.014011  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560870;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:10.174749' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001200  Lock_time: 0.000311  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560871;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560871;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001127  Lock_time: 0.000879  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560871;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:11.173757' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000591  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560872;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:12.174809' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000655  Lock_time: 0.000265  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560872;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:12.174871' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000865  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560872;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001183  Lock_time: 0.000320  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560873;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001032  Lock_time: 0.000809  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560873;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:13.174858' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002332  Lock_time: 0.002081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560873;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000515  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560874;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002509  Lock_time: 0.002205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560874;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:14.173538' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000715  Lock_time: 0.000288  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560874;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:14.176903' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1092  Schema:   QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000318  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560875;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1093  Schema:   QC_hit: No
# Query_time: 0.000607  Lock_time: 0.000522  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560875;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1093  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560875;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1092  Schema:   QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000286  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560875;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001262  Lock_time: 0.000269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560875;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001778  Lock_time: 0.001151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560875;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001666  Lock_time: 0.001189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560875;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:15.173989' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000510  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560876;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560876;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:16.175071' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560876;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:16.175423' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000538  Lock_time: 0.000298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560877;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000737  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560877;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560877;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:17.175014' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560878;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001801  Lock_time: 0.001555  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560878;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:18.174243' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001503  Lock_time: 0.001244  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560878;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:18.174833' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001095  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560879;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560879;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002160  Lock_time: 0.001817  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560879;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:19.177045' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002371  Lock_time: 0.001881  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560879;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:19.176245' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001403  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560880;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000677  Lock_time: 0.000276  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560880;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003250  Lock_time: 0.002847  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560880;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:20.174661' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002023  Lock_time: 0.001083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560881;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000586  Lock_time: 0.000280  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560881;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:21.17405' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000726  Lock_time: 0.000308  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560881;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:21.175083' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560882;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001245  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560882;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000651  Lock_time: 0.000333  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560882;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:22.176024' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000460  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560883;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560883;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:23.174373' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560883;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:23.174436' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001757  Lock_time: 0.001482  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560884;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001797  Lock_time: 0.001234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560884;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000535  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560884;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:24.172342' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1098  Schema:   QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560885;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1098  Schema:   QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000084  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560885;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1097  Schema:   QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000258  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560885;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1097  Schema:   QC_hit: No
# Query_time: 0.000517  Lock_time: 0.000329  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560885;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: so_user[so_user] @  [10.233.71.223]
# Thread_id: 1096  Schema: requestdb  QC_hit: No
# Query_time: 0.044575  Lock_time: 0.000355  Rows_sent: 0  Rows_examined: 16
# Rows_affected: 0  Bytes_sent: 92
use requestdb;
SET timestamp=1649560885;
select table_name from information_schema.TABLES where table_schema = database() and table_type = 'SEQUENCE';
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000941  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1649560885;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004119  Lock_time: 0.003803  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560885;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:25.174145' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004257  Lock_time: 0.003139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560885;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:25.173815' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002824  Lock_time: 0.002544  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560886;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000621  Lock_time: 0.000422  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560886;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:26.174964' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000934  Lock_time: 0.000613  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560886;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:26.174872' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001122  Lock_time: 0.000233  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560887;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.012537  Lock_time: 0.012131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560887;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.011112  Lock_time: 0.010723  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560887;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:27.174239' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001216  Lock_time: 0.000769  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560888;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:28.175667' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001831  Lock_time: 0.000803  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560888;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:28.175757' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001368  Lock_time: 0.000362  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560888;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 220410  3:21:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001036  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560889;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000549  Lock_time: 0.000361  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560889;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000726  Lock_time: 0.000505  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560889;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:29.172163' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000773  Lock_time: 0.000528  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560889;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:29.172178' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1105  Schema:   QC_hit: No
# Query_time: 0.000690  Lock_time: 0.000473  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560890;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1105  Schema:   QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000247  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560890;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001215  Lock_time: 0.000376  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560890;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001077  Lock_time: 0.000846  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560890;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560890;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:30.173922' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000526  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560891;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000524  Lock_time: 0.000276  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560891;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:31.174869' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560891;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:31.174439' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002538  Lock_time: 0.002201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560892;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001598  Lock_time: 0.001268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560892;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:32.174351' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000598  Lock_time: 0.000346  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560892;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:32.174761' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000658  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560893;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:33.174968' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000655  Lock_time: 0.000314  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560893;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001020  Lock_time: 0.000222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560893;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560893;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:33.178674' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001211  Lock_time: 0.000290  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560894;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000522  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560894;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000613  Lock_time: 0.000304  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560894;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:34.174645' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560894;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:34.176141' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1106  Schema:   QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000243  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560895;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1107  Schema:   QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000285  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560895;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1106  Schema:   QC_hit: No
# Query_time: 0.003442  Lock_time: 0.003270  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560895;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1107  Schema:   QC_hit: No
# Query_time: 0.002134  Lock_time: 0.001856  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560895;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560895;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000663  Lock_time: 0.000478  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560895;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:35.173774' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000598  Lock_time: 0.000440  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560895;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:35.174343' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000546  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560896;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000800  Lock_time: 0.000274  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560896;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000531  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560896;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:36.173701' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001334  Lock_time: 0.001161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560897;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560897;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:37.175973' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000730  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560897;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:37.174447' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001217  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560898;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560898;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:38.174899' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005451  Lock_time: 0.005071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560898;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:38.174629' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001219  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560899;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005366  Lock_time: 0.005105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560899;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002914  Lock_time: 0.002665  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560899;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:39.174406' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002507  Lock_time: 0.002216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560899;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:39.17485' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001280  Lock_time: 0.001026  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560900;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000395  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560900;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:40.175454' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000599  Lock_time: 0.000376  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560900;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:40.177109' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001689  Lock_time: 0.000436  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560901;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000917  Lock_time: 0.000562  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560901;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002197  Lock_time: 0.001822  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560901;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:41.174444' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000982  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560902;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001769  Lock_time: 0.001399  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560902;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001715  Lock_time: 0.001507  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560902;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:42.174856' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001258  Lock_time: 0.000923  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560902;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:42.175031' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001183  Lock_time: 0.000921  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560903;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560903;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:43.174732' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003806  Lock_time: 0.003471  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560903;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:43.178453' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001575  Lock_time: 0.001242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560904;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560904;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:44.174803' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560904;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:44.174563' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1111  Schema:   QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560905;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1110  Schema:   QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000307  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560905;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1110  Schema:   QC_hit: No
# Query_time: 0.002485  Lock_time: 0.002260  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560905;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1111  Schema:   QC_hit: No
# Query_time: 0.002442  Lock_time: 0.002231  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560905;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000936  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560905;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000599  Lock_time: 0.000358  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560905;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560905;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:45.175593' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560906;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560906;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:46.174272' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000516  Lock_time: 0.000296  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560906;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:46.175514' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001206  Lock_time: 0.000270  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560907;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000885  Lock_time: 0.000560  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560907;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001992  Lock_time: 0.001664  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560907;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:47.174093' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001360  Lock_time: 0.001032  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560907;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:47.173486' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000595  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560908;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002270  Lock_time: 0.001882  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560908;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:48.174959' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002307  Lock_time: 0.001882  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560908;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:48.174109' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000453  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560909;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000852  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560909;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000233  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560909;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:49.173933' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000817  Lock_time: 0.000283  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560910;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000316  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560910;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:50.174551' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560910;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:50.175416' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001314  Lock_time: 0.000288  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560911;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560911;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560911;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:51.174154' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000755  Lock_time: 0.000473  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560912;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000597  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560912;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:52.173682' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000781  Lock_time: 0.000490  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560912;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:52.174302' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001281  Lock_time: 0.000256  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560913;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000806  Lock_time: 0.000580  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560913;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000510  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560913;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:53.175121' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002991  Lock_time: 0.002759  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560914;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001325  Lock_time: 0.001098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560914;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:54.173576' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001778  Lock_time: 0.001569  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560914;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:54.173757' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1114  Schema:   QC_hit: No
# Query_time: 0.001319  Lock_time: 0.001181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560915;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1115  Schema:   QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560915;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1114  Schema:   QC_hit: No
# Query_time: 0.001744  Lock_time: 0.001621  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560915;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1115  Schema:   QC_hit: No
# Query_time: 0.012495  Lock_time: 0.012316  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560915;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000900  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560915;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001035  Lock_time: 0.000762  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560915;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:55.174083' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001853  Lock_time: 0.001625  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560915;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000881  Lock_time: 0.000517  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560915;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:55.174843' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001357  Lock_time: 0.000315  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560916;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000433  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560916;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:56.173175' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.007903  Lock_time: 0.007685  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560916;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:56.173627' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001398  Lock_time: 0.000491  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560917;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001406  Lock_time: 0.001143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560917;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:57.174382' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002571  Lock_time: 0.002129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560917;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:57.173846' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000931  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560918;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001681  Lock_time: 0.001382  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560918;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560918;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:58.175963' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:21:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000491  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560919;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560919;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:59.174558' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000517  Lock_time: 0.000285  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560919;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:21:59.174166' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1118  Schema:   QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000276  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560920;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1118  Schema:   QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000208  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560920;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001277  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560920;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001063  Lock_time: 0.000865  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560920;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560920;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:00.174582' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000484  Lock_time: 0.000245  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560920;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:00.176788' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000832  Lock_time: 0.000417  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560921;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001451  Lock_time: 0.000745  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560921;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003864  Lock_time: 0.003511  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560921;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:01.174902' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000668  Lock_time: 0.000395  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560922;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000836  Lock_time: 0.000597  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560922;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:02.174798' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560922;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:02.175916' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001005  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560923;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000978  Lock_time: 0.000689  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560923;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000590  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560923;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:03.175001' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000453  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560924;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560924;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:04.175095' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560924;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:04.174855' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1119  Schema:   QC_hit: No
# Query_time: 0.000474  Lock_time: 0.000283  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560925;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1120  Schema:   QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560925;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1120  Schema:   QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000254  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560925;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1119  Schema:   QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000276  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560925;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000821  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560925;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000505  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560925;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:05.173254' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002460  Lock_time: 0.002094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560925;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000894  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560926;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000634  Lock_time: 0.000290  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560926;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:06.181275' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000703  Lock_time: 0.000470  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560926;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:06.174882' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001039  Lock_time: 0.000314  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560927;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000483  Lock_time: 0.000283  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560927;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000529  Lock_time: 0.000222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560927;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:07.174315' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000756  Lock_time: 0.000485  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560928;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001665  Lock_time: 0.001205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560928;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:08.174833' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000508  Lock_time: 0.000298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560928;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:08.174118' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000915  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560929;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560929;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560929;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:09.173553' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560929;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:09.173634' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001623  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560930;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001492  Lock_time: 0.001159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560930;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000857  Lock_time: 0.000564  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560930;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:10.173783' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001065  Lock_time: 0.000294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560931;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000244  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560931;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002223  Lock_time: 0.001985  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560931;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:11.173332' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002614  Lock_time: 0.002236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560931;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:11.173608' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002006  Lock_time: 0.000359  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560932;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001004  Lock_time: 0.000852  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560932;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560932;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:12.173569' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560933;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000496  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560933;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:13.173515' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000495  Lock_time: 0.000297  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560933;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:13.173296' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001101  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560934;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001658  Lock_time: 0.001419  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560934;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000720  Lock_time: 0.000459  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560934;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:14.173053' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1123  Schema:   QC_hit: No
# Query_time: 0.000478  Lock_time: 0.000244  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560935;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1124  Schema:   QC_hit: No
# Query_time: 0.004443  Lock_time: 0.004166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560935;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1124  Schema:   QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000258  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560935;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1123  Schema:   QC_hit: No
# Query_time: 0.002258  Lock_time: 0.002092  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560935;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003594  Lock_time: 0.003364  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560935;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003137  Lock_time: 0.002725  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560935;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:15.173616' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006434  Lock_time: 0.006165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560935;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:15.173225' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560936;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001055  Lock_time: 0.000743  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560936;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:16.17365' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560936;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:16.17452' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000910  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560937;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560937;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001446  Lock_time: 0.001200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560937;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:17.173697' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001720  Lock_time: 0.001478  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560937;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:17.173477' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560938;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000751  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560938;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560938;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:18.173503' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001243  Lock_time: 0.000456  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560939;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000540  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560939;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:19.173754' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000492  Lock_time: 0.000288  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560939;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:19.173814' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.007175  Lock_time: 0.006505  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560940;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000887  Lock_time: 0.000755  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560940;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000332  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560940;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:20.173539' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001471  Lock_time: 0.000512  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560941;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560941;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000568  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560941;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:21.173156' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000486  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560942;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560942;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:22.17375' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000539  Lock_time: 0.000271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560942;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:22.173299' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003319  Lock_time: 0.002574  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560943;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000387  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560943;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560943;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:23.174062' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560943;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:23.173673' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000823  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560944;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001236  Lock_time: 0.001080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560944;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560944;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:24.17519' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1127  Schema:   QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560945;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1128  Schema:   QC_hit: No
# Query_time: 0.001250  Lock_time: 0.001081  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560945;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1128  Schema:   QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000213  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560945;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1127  Schema:   QC_hit: No
# Query_time: 0.011772  Lock_time: 0.011562  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560945;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001057  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560945;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001435  Lock_time: 0.001224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560945;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001313  Lock_time: 0.001007  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560945;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:25.173232' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001542  Lock_time: 0.000853  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560946;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560946;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:26.174943' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560946;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:26.175327' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001110  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560947;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000721  Lock_time: 0.000451  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560947;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001629  Lock_time: 0.001430  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560947;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:27.173956' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002371  Lock_time: 0.001532  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560948;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560948;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560948;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:28.17771' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001000  Lock_time: 0.000681  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560949;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:29.174853' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002745  Lock_time: 0.002509  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560949;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560949;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:29.174467' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1131  Schema:   QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000213  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560950;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1131  Schema:   QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560950;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000903  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560950;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000510  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560950;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560950;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:30.173391' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002158  Lock_time: 0.000583  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560951;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000595  Lock_time: 0.000444  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560951;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:31.174394' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002245  Lock_time: 0.002052  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560951;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:31.173708' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001015  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560952;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000583  Lock_time: 0.000345  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560952;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:32.173603' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560952;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002883  Lock_time: 0.002582  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560953;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560953;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:33.179935' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001730  Lock_time: 0.001481  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560954;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:34.174917' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001781  Lock_time: 0.001512  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560954;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:34.174944' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000988  Lock_time: 0.000839  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560954;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1133  Schema:   QC_hit: No
# Query_time: 0.013340  Lock_time: 0.013128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560955;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1132  Schema:   QC_hit: No
# Query_time: 0.015856  Lock_time: 0.015756  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560955;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1132  Schema:   QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000294  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560955;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1133  Schema:   QC_hit: No
# Query_time: 0.000575  Lock_time: 0.000376  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560955;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000893  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560955;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000601  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560955;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000565  Lock_time: 0.000355  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560955;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:35.174368' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560955;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:35.177246' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002123  Lock_time: 0.001832  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560956;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003330  Lock_time: 0.002588  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560956;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000571  Lock_time: 0.000345  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560956;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:36.172468' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000536  Lock_time: 0.000267  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560957;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:37.174932' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003763  Lock_time: 0.002618  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560957;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000906  Lock_time: 0.000579  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560957;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:37.176477' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560958;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001180  Lock_time: 0.000296  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560958;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560958;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:38.186539' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560958;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:38.182389' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001411  Lock_time: 0.000518  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560959;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560959;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:39.173382' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002052  Lock_time: 0.001713  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560959;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001094  Lock_time: 0.000274  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560960;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560960;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000986  Lock_time: 0.000402  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560960;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:40.174583' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001098  Lock_time: 0.000254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560961;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560961;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000508  Lock_time: 0.000289  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560961;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:41.173674' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000976  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560962;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001043  Lock_time: 0.000805  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560962;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:42.17373' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001102  Lock_time: 0.000849  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560962;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:42.174075' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001176  Lock_time: 0.000271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560963;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560963;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:43.173535' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560963;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:43.173536' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003117  Lock_time: 0.002203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560964;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000714  Lock_time: 0.000243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560964;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:44.173493' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560964;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1139  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560965;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1139  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560965;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1140  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560965;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1140  Schema:   QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000270  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560965;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560965;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000531  Lock_time: 0.000319  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560965;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:45.174339' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000458  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560965;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:45.173711' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000443  Lock_time: 0.000277  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560966;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560966;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:46.175382' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000515  Lock_time: 0.000353  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560966;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:46.174427' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001080  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560967;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560967;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560967;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:47.176988' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560967;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:47.176326' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560968;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:48.174159' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001558  Lock_time: 0.001157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560968;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000595  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560968;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:48.174024' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003356  Lock_time: 0.002632  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560968;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 220410  3:22:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001563  Lock_time: 0.001301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560969;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000740  Lock_time: 0.000505  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560969;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:49.174344' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000792  Lock_time: 0.000544  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560969;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:49.17475' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000928  Lock_time: 0.000255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560970;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002007  Lock_time: 0.001730  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560970;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000933  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560970;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:50.174226' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000987  Lock_time: 0.000262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560971;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000404  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560971;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560971;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:51.174838' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000511  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560972;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560972;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:52.174206' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560972;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:52.173367' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000758  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560973;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002051  Lock_time: 0.001775  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560973;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001043  Lock_time: 0.000761  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560973;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:53.173618' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000991  Lock_time: 0.000706  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560973;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:53.17372' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560974;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560974;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:54.175172' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560974;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:54.173811' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1144  Schema:   QC_hit: No
# Query_time: 0.000619  Lock_time: 0.000474  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560975;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1143  Schema:   QC_hit: No
# Query_time: 0.000552  Lock_time: 0.000426  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560975;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1143  Schema:   QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000366  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560975;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1144  Schema:   QC_hit: No
# Query_time: 0.000661  Lock_time: 0.000564  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560975;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000963  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560975;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000796  Lock_time: 0.000523  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560975;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000517  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560975;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:55.173351' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560976;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:56.174088' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560976;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001114  Lock_time: 0.000919  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560976;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:56.174991' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000975  Lock_time: 0.000229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560977;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560977;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560977;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:57.174129' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000714  Lock_time: 0.000481  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560978;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560978;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:58.174223' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560978;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:58.174589' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:22:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000847  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560979;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000527  Lock_time: 0.000346  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560979;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000920  Lock_time: 0.000599  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560979;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:59.174412' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001576  Lock_time: 0.001227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560979;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:22:59.173319' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1147  Schema:   QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000232  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560980;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1147  Schema:   QC_hit: No
# Query_time: 0.000402  Lock_time: 0.000252  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560980;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000857  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560980;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560980;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001767  Lock_time: 0.001551  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560980;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:00.174384' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000810  Lock_time: 0.000550  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560980;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:00.175037' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001173  Lock_time: 0.000339  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560981;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003807  Lock_time: 0.003503  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560981;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002746  Lock_time: 0.002353  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560981;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:01.174285' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002781  Lock_time: 0.002414  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560981;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:01.17379' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001472  Lock_time: 0.000443  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560982;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001029  Lock_time: 0.000581  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560982;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:02.174916' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002381  Lock_time: 0.001933  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560982;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000567  Lock_time: 0.000262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560982;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:02.173664' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001387  Lock_time: 0.000403  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560983;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560983;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:03.17321' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001440  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560983;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:03.174235' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001469  Lock_time: 0.000290  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560984;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000945  Lock_time: 0.000685  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560984;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560984;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:04.175024' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1149  Schema:   QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560985;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1148  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560985;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1149  Schema:   QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000293  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560985;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1148  Schema:   QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560985;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560985;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560985;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:05.174787' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560985;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:05.174264' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000830  Lock_time: 0.000476  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560986;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:06.173884' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004734  Lock_time: 0.004367  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560986;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005962  Lock_time: 0.004465  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560986;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 220410  3:23:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000544  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560987;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:07.173103' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001432  Lock_time: 0.001217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560987;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560987;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:07.173676' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004742  Lock_time: 0.002429  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560988;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.013136  Lock_time: 0.012652  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560988;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:08.176569' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.011585  Lock_time: 0.009136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560988;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:08.175702' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000986  Lock_time: 0.000649  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560989;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001557  Lock_time: 0.000741  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560989;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:09.174326' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005634  Lock_time: 0.005221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560989;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:09.174193' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001203  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560990;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002038  Lock_time: 0.001695  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560990;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001395  Lock_time: 0.001057  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560990;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:10.174546' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001816  Lock_time: 0.001424  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560990;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:10.174507' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000715  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560991;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000556  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560991;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:11.173693' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000708  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560991;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:11.173658' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001315  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560992;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001915  Lock_time: 0.001544  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560992;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560992;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:12.174173' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560992;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:12.173903' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560993;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:13.174927' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000541  Lock_time: 0.000306  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560993;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:13.173767' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001906  Lock_time: 0.000756  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560993;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 220410  3:23:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002444  Lock_time: 0.001697  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560994;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560994;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000501  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560994;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:14.174329' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560994;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:14.176146' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1153  Schema:   QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560995;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1152  Schema:   QC_hit: No
# Query_time: 0.000963  Lock_time: 0.000401  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649560995;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1152  Schema:   QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000234  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560995;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1153  Schema:   QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649560995;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004342  Lock_time: 0.003455  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560995;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000656  Lock_time: 0.000323  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560995;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560995;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:15.176497' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000330  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560996;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000452  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560996;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:16.174583' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560996;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:16.173456' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000928  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560997;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002974  Lock_time: 0.002757  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560997;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001222  Lock_time: 0.001014  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560997;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:17.173491' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001192  Lock_time: 0.000948  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560997;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:17.173134' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001203  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560998;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000818  Lock_time: 0.000546  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560998;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:18.174228' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000804  Lock_time: 0.000569  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560998;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002481  Lock_time: 0.002187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560998;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:18.17378' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001037  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560999;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001569  Lock_time: 0.001196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560999;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649560999;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:19.173951' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000536  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561000;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561000;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:20.174869' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561000;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:20.174764' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000412  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561001;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561001;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:21.173778' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561001;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:21.17364' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001099  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561002;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000300  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561002;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000653  Lock_time: 0.000360  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561002;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:22.173254' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000491  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561003;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561003;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:23.17364' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561003;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:23.173686' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000913  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561004;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561004;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561004;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:24.173465' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1156  Schema:   QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561005;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1157  Schema:   QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000228  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561005;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1157  Schema:   QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561005;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1156  Schema:   QC_hit: No
# Query_time: 0.000531  Lock_time: 0.000336  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561005;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000894  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561005;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561005;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:25.173479' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561005;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:25.174472' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000494  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561006;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:26.173632' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003758  Lock_time: 0.002873  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561006;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003866  Lock_time: 0.003523  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561006;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005515  Lock_time: 0.005217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561006;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:26.173487' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002205  Lock_time: 0.002004  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561007;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:27.171999' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000615  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561007;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:27.172879' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561007;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000780  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561008;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001338  Lock_time: 0.001141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561008;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561008;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:28.173511' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000823  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561009;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000438  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561009;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:29.174213' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001794  Lock_time: 0.001515  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561009;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:29.173327' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1160  Schema:   QC_hit: No
# Query_time: 0.000837  Lock_time: 0.000324  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561010;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1160  Schema:   QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000301  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561010;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561010;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000654  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561010;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002292  Lock_time: 0.002009  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561010;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:30.174958' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002390  Lock_time: 0.002125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561011;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001612  Lock_time: 0.001040  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561011;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:31.173654' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561011;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:31.174438' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001158  Lock_time: 0.000370  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561012;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003507  Lock_time: 0.003234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561012;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001220  Lock_time: 0.000963  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561012;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:32.174095' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003508  Lock_time: 0.003194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561012;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:32.17459' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001324  Lock_time: 0.000255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561013;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561013;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002602  Lock_time: 0.002251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561013;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:33.174631' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561014;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000536  Lock_time: 0.000324  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561014;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:34.173968' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000796  Lock_time: 0.000588  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561014;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:34.173848' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1161  Schema:   QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561015;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1162  Schema:   QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000216  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561015;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1162  Schema:   QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000232  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561015;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1161  Schema:   QC_hit: No
# Query_time: 0.000510  Lock_time: 0.000329  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561015;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001488  Lock_time: 0.000518  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561015;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001064  Lock_time: 0.000682  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561015;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001059  Lock_time: 0.000859  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561015;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:35.173898' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001110  Lock_time: 0.000626  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561016;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561016;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:36.174648' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000735  Lock_time: 0.000502  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561016;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:36.174062' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003924  Lock_time: 0.002975  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561017;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000685  Lock_time: 0.000453  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561017;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561017;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:37.174063' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000638  Lock_time: 0.000405  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561017;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:37.175173' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002655  Lock_time: 0.002107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561018;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561018;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561018;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:38.173707' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000277  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561019;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561019;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:39.173198' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000743  Lock_time: 0.000577  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561019;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:39.173665' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001093  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561020;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001496  Lock_time: 0.001337  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561020;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561020;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:40.17363' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000629  Lock_time: 0.000468  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561020;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:40.173955' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001545  Lock_time: 0.000780  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561021;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000509  Lock_time: 0.000304  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561021;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:41.174095' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000803  Lock_time: 0.000494  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561021;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:41.173656' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002402  Lock_time: 0.001647  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561022;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561022;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005226  Lock_time: 0.004799  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561022;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:42.173569' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005728  Lock_time: 0.005359  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561022;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:42.177287' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561023;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000483  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561023;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:43.173848' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561023;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:43.174279' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002017  Lock_time: 0.001222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561024;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003363  Lock_time: 0.002972  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561024;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561024;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:44.174536' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1165  Schema:   QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561025;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1166  Schema:   QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561025;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1166  Schema:   QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000239  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561025;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1165  Schema:   QC_hit: No
# Query_time: 0.000503  Lock_time: 0.000315  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561025;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004147  Lock_time: 0.003857  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561025;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002256  Lock_time: 0.001934  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561025;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:45.173268' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002415  Lock_time: 0.002250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561025;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:45.173814' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001492  Lock_time: 0.001083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561026;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:46.173689' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001424  Lock_time: 0.001024  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561026;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:46.173949' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002605  Lock_time: 0.002163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561026;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001470  Lock_time: 0.000672  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561027;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561027;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561027;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:47.173119' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561027;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:47.173519' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001551  Lock_time: 0.000811  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561028;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000693  Lock_time: 0.000401  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561028;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:48.173288' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561028;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:48.17305' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000990  Lock_time: 0.000285  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561029;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561029;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561029;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:49.173544' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561030;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561030;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:50.173739' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561030;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:50.174065' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001174  Lock_time: 0.000386  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561031;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000751  Lock_time: 0.000484  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561031;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000395  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561031;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:51.173618' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561031;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:51.174099' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000633  Lock_time: 0.000325  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561032;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000387  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561032;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:52.173193' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561032;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:52.173666' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001120  Lock_time: 0.000550  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561033;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002955  Lock_time: 0.001617  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561033;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000590  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561033;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:53.174386' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561033;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:53.174156' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001361  Lock_time: 0.000493  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561034;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000579  Lock_time: 0.000332  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561034;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:54.173133' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561034;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:54.173496' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1170  Schema:   QC_hit: No
# Query_time: 0.000650  Lock_time: 0.000541  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561035;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1169  Schema:   QC_hit: No
# Query_time: 0.000794  Lock_time: 0.000685  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561035;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1170  Schema:   QC_hit: No
# Query_time: 0.001034  Lock_time: 0.000428  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561035;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1169  Schema:   QC_hit: No
# Query_time: 0.000433  Lock_time: 0.000242  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561035;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001330  Lock_time: 0.000720  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561035;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561035;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001532  Lock_time: 0.001315  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561035;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:55.173677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000849  Lock_time: 0.000580  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561035;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:55.174449' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001800  Lock_time: 0.000794  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561036;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003776  Lock_time: 0.003279  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561036;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:56.174426' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003781  Lock_time: 0.003219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561036;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:56.174311' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001441  Lock_time: 0.000285  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561037;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000495  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561037;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002374  Lock_time: 0.002046  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561037;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:57.173684' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001426  Lock_time: 0.000677  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561038;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002482  Lock_time: 0.002132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561038;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:58.173859' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003190  Lock_time: 0.002973  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561038;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:58.174063' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:23:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001242  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561039;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000561  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561039;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001617  Lock_time: 0.001163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561039;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:23:59.174513' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1173  Schema:   QC_hit: No
# Query_time: 0.000589  Lock_time: 0.000384  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561040;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1173  Schema:   QC_hit: No
# Query_time: 0.000609  Lock_time: 0.000351  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561040;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000685  Lock_time: 0.000311  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561040;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561040;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:00.17419' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561040;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:00.174771' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001045  Lock_time: 0.000312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561041;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001218  Lock_time: 0.001012  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561041;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001341  Lock_time: 0.001023  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561041;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:01.174553' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001008  Lock_time: 0.000823  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561041;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:01.175078' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000544  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561042;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000360  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561042;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:02.174396' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000304  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561042;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:02.174754' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001430  Lock_time: 0.000535  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561043;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000861  Lock_time: 0.000700  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561043;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561043;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:03.173891' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001036  Lock_time: 0.000290  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561044;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000483  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561044;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000494  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561044;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:04.175588' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1175  Schema:   QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000279  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561045;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1174  Schema:   QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000275  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561045;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1175  Schema:   QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000228  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561045;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1174  Schema:   QC_hit: No
# Query_time: 0.000496  Lock_time: 0.000328  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561045;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000712  Lock_time: 0.000426  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561045;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:05.17352' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001841  Lock_time: 0.001576  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561045;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561045;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:05.174093' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002864  Lock_time: 0.002101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561046;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000527  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561046;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:06.174351' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561046;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000444  Lock_time: 0.000222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561046;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:06.173923' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001780  Lock_time: 0.001200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561047;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561047;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:07.176616' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000613  Lock_time: 0.000366  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561047;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001007  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561048;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561048;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:08.174279' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561048;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:08.17408' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000893  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561049;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561049;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001318  Lock_time: 0.001030  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561049;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:09.17523' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002201  Lock_time: 0.001929  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561049;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:09.174145' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001130  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561050;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001598  Lock_time: 0.001342  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561050;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:10.173984' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001197  Lock_time: 0.000965  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561050;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002310  Lock_time: 0.002143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561050;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:10.174368' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002010  Lock_time: 0.000401  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561051;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561051;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:11.173674' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002106  Lock_time: 0.001883  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561051;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000494  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561051;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:11.17331' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001250  Lock_time: 0.000331  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561052;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001106  Lock_time: 0.000325  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561052;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002465  Lock_time: 0.002256  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561052;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:12.173917' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001169  Lock_time: 0.000312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561053;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002473  Lock_time: 0.002078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561053;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:13.173821' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005312  Lock_time: 0.005003  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561053;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:13.174763' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001106  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561054;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561054;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:14.17363' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561054;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:14.174288' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1178  Schema:   QC_hit: No
# Query_time: 0.000603  Lock_time: 0.000455  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561055;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1178  Schema:   QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000239  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561055;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1179  Schema:   QC_hit: No
# Query_time: 0.004050  Lock_time: 0.003531  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561055;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1179  Schema:   QC_hit: No
# Query_time: 0.000706  Lock_time: 0.000534  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561055;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000906  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561055;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561055;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001709  Lock_time: 0.001408  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561055;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:15.173696' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004901  Lock_time: 0.004475  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561056;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:16.173713' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005094  Lock_time: 0.004610  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561056;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:16.173275' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005916  Lock_time: 0.005066  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561056;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000912  Lock_time: 0.000219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561057;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561057;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561057;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:17.174089' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561058;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561058;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:18.174187' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561058;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:18.174225' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000954  Lock_time: 0.000281  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561059;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561059;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000511  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561059;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:19.175165' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000534  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561059;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:19.174424' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000980  Lock_time: 0.000245  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561060;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001334  Lock_time: 0.001092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561060;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000712  Lock_time: 0.000317  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561060;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:20.174215' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561060;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:20.174649' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000892  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561061;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000710  Lock_time: 0.000443  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561061;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:21.174015' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001814  Lock_time: 0.001498  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561061;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000454  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561061;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:21.173635' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003262  Lock_time: 0.002522  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561062;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000505  Lock_time: 0.000308  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561062;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:22.17384' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000570  Lock_time: 0.000323  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561062;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:22.174818' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002202  Lock_time: 0.001878  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561063;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:23.172671' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002286  Lock_time: 0.002003  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561063;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002380  Lock_time: 0.001891  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561063;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:23.172845' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000969  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561064;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000549  Lock_time: 0.000354  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561064;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561064;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:24.173434' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1183  Schema:   QC_hit: No
# Query_time: 0.000955  Lock_time: 0.000774  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561065;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1182  Schema:   QC_hit: No
# Query_time: 0.001146  Lock_time: 0.000905  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561065;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1183  Schema:   QC_hit: No
# Query_time: 0.001251  Lock_time: 0.001123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561065;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1182  Schema:   QC_hit: No
# Query_time: 0.000886  Lock_time: 0.000632  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561065;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001374  Lock_time: 0.000797  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561065;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001716  Lock_time: 0.001533  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561065;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:25.17404' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001816  Lock_time: 0.001546  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561065;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:25.174904' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000912  Lock_time: 0.000621  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561066;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001625  Lock_time: 0.000673  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561066;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000587  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561066;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:26.174808' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003335  Lock_time: 0.002399  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561067;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561067;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561067;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:27.17823' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003862  Lock_time: 0.002897  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561068;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561068;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000934  Lock_time: 0.000293  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561068;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:28.174098' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001156  Lock_time: 0.000261  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561069;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001289  Lock_time: 0.000880  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561069;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001669  Lock_time: 0.001450  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561069;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:29.174601' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1186  Schema:   QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000231  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561070;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1186  Schema:   QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000286  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561070;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003232  Lock_time: 0.002961  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561070;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002672  Lock_time: 0.002469  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561070;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:30.17412' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002882  Lock_time: 0.002572  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561070;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:30.174944' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001003  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561071;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003452  Lock_time: 0.003105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561071;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:31.174779' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003493  Lock_time: 0.003174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561071;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:31.174369' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.009000  Lock_time: 0.008509  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561071;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000843  Lock_time: 0.000555  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561072;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002585  Lock_time: 0.002267  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561072;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:32.17326' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002681  Lock_time: 0.002481  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561072;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:32.174423' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001110  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561073;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001256  Lock_time: 0.001025  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561073;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001515  Lock_time: 0.001275  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561073;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:33.174172' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001636  Lock_time: 0.001331  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561073;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:33.173648' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561074;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000953  Lock_time: 0.000729  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561074;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:34.174773' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000562  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561074;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:34.175086' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1187  Schema:   QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561075;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1188  Schema:   QC_hit: No
# Query_time: 0.001560  Lock_time: 0.000761  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561075;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1187  Schema:   QC_hit: No
# Query_time: 0.004450  Lock_time: 0.004269  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561075;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1188  Schema:   QC_hit: No
# Query_time: 0.000578  Lock_time: 0.000401  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561075;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561075;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000495  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561075;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:35.174109' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001091  Lock_time: 0.000651  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561075;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:35.174443' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001008  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561076;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000404  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561076;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561076;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:36.176105' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000742  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561077;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000532  Lock_time: 0.000302  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561077;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:37.173183' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002593  Lock_time: 0.002236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561077;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:37.173641' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004562  Lock_time: 0.004232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561078;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005496  Lock_time: 0.004788  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561078;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000688  Lock_time: 0.000311  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561078;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:38.175066' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001201  Lock_time: 0.000275  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561079;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561079;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002306  Lock_time: 0.002037  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561079;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:39.174723' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003351  Lock_time: 0.003181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561079;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:39.17443' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561080;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561080;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:40.173826' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561080;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:40.174955' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001528  Lock_time: 0.000392  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561081;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001808  Lock_time: 0.001538  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561081;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000838  Lock_time: 0.000606  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561081;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:41.173988' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561082;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:42.175224' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000634  Lock_time: 0.000518  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561082;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000596  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561082;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:42.17322' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001481  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561083;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001403  Lock_time: 0.001145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561083;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561083;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:43.174291' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000571  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561084;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008660  Lock_time: 0.008192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561084;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:44.174496' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1191  Schema:   QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000390  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561085;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1192  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561085;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1192  Schema:   QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000316  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561085;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1191  Schema:   QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561085;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001319  Lock_time: 0.001101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561085;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000616  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561085;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:45.174135' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.007483  Lock_time: 0.007137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561085;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:45.174845' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000912  Lock_time: 0.000275  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561086;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561086;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:46.175356' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001734  Lock_time: 0.001508  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561087;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561087;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:47.18236' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000813  Lock_time: 0.000358  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561087;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:47.18228' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001245  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561088;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002465  Lock_time: 0.002000  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561088;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:48.177808' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561088;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:48.183124' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001358  Lock_time: 0.000277  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561089;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561089;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000557  Lock_time: 0.000277  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561089;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:49.17452' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561089;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:49.175385' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000607  Lock_time: 0.000314  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561090;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001049  Lock_time: 0.000340  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561090;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000455  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561090;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:50.175949' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000454  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561090;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:50.174485' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003651  Lock_time: 0.002696  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561091;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000756  Lock_time: 0.000501  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561091;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000325  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561091;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:51.173861' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000618  Lock_time: 0.000408  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561091;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:51.174222' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001124  Lock_time: 0.000296  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561092;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000501  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561092;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002020  Lock_time: 0.001585  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561092;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:52.175766' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001303  Lock_time: 0.000331  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561093;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561093;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561093;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:53.174136' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000559  Lock_time: 0.000240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561093;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:53.173651' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001424  Lock_time: 0.000328  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561094;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561094;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:54.174822' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561094;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:54.173992' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1195  Schema:   QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561095;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1196  Schema:   QC_hit: No
# Query_time: 0.000696  Lock_time: 0.000581  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561095;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1196  Schema:   QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000250  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561095;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1195  Schema:   QC_hit: No
# Query_time: 0.000617  Lock_time: 0.000458  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561095;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000942  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561095;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561095;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:55.173371' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008549  Lock_time: 0.008238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561095;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001709  Lock_time: 0.001386  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561096;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:56.174307' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001656  Lock_time: 0.001324  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561096;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:56.174018' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003778  Lock_time: 0.003592  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561096;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000977  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561097;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001061  Lock_time: 0.000896  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561097;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561097;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:57.174525' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561098;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561098;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:58.173778' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000607  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561098;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:58.173374' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:24:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001040  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561099;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561099;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000341  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561099;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:59.174647' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561099;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:24:59.174023' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1199  Schema:   QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000229  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561100;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1199  Schema:   QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000351  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561100;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000889  Lock_time: 0.000222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561100;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000991  Lock_time: 0.000698  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561100;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561100;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:00.174185' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561100;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:00.174392' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001031  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561101;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561101;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561101;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:01.173557' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561101;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:01.174475' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002267  Lock_time: 0.002037  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561102;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000632  Lock_time: 0.000363  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561102;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:02.173866' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001430  Lock_time: 0.001191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561102;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:02.174404' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001037  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561103;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000443  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561103;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001603  Lock_time: 0.001354  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561103;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:03.17377' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001962  Lock_time: 0.001410  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561104;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:04.173877' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000506  Lock_time: 0.000243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561104;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000837  Lock_time: 0.000578  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561104;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:04.190783' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1200  Schema:   QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561105;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1200  Schema:   QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561105;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1201  Schema:   QC_hit: No
# Query_time: 0.000580  Lock_time: 0.000480  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561105;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1201  Schema:   QC_hit: No
# Query_time: 0.000753  Lock_time: 0.000564  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561105;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001055  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561105;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561105;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002486  Lock_time: 0.002102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561105;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:05.173767' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001284  Lock_time: 0.000262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561106;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561106;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:06.174751' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001121  Lock_time: 0.000860  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561106;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:06.173677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000890  Lock_time: 0.000254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561107;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561107;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:07.173881' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000513  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561107;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:07.173871' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001731  Lock_time: 0.001475  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561108;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:08.173907' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000608  Lock_time: 0.000324  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561108;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:08.176372' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002174  Lock_time: 0.001896  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561108;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002748  Lock_time: 0.001943  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561108;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 220410  3:25:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002971  Lock_time: 0.002267  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561109;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561109;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561109;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:09.175106' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001265  Lock_time: 0.000972  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561110;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561110;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:10.176072' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000464  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561110;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:10.175448' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000996  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561111;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000848  Lock_time: 0.000577  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561111;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000513  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561111;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:11.175579' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000661  Lock_time: 0.000445  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561111;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:11.174598' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000635  Lock_time: 0.000371  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561112;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000452  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561112;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:12.177834' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001243  Lock_time: 0.000699  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561112;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:12.175416' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001141  Lock_time: 0.000384  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561113;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001581  Lock_time: 0.001303  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561113;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:13.173903' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002645  Lock_time: 0.002334  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561113;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:13.173461' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002679  Lock_time: 0.002354  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561113;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000535  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561114;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004526  Lock_time: 0.004149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561114;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:14.174012' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004985  Lock_time: 0.004608  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561114;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:14.173585' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1204  Schema:   QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000253  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561115;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1205  Schema:   QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000201  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561115;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1204  Schema:   QC_hit: No
# Query_time: 0.000925  Lock_time: 0.000742  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561115;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1205  Schema:   QC_hit: No
# Query_time: 0.001304  Lock_time: 0.000909  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561115;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001255  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561115;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000314  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561115;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000650  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561115;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:15.17361' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000526  Lock_time: 0.000275  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561116;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561116;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:16.173486' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000784  Lock_time: 0.000325  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561116;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:16.174838' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001103  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561117;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561117;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561117;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:17.174168' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561117;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:17.174922' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002062  Lock_time: 0.001735  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561118;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001132  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561118;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:18.178255' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561118;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:18.178649' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000825  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561119;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000535  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561119;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561119;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:19.173583' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000476  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561120;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561120;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:20.173857' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000612  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561120;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:20.173527' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000640  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561121;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001408  Lock_time: 0.000539  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561121;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000669  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561121;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:21.174209' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000484  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561122;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561122;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:22.174408' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000548  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561122;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:22.175564' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001313  Lock_time: 0.000442  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561123;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000387  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561123;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:23.174773' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561123;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:23.174177' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000637  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561124;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561124;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:24.173444' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000600  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561124;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:24.173796' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1209  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561125;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1208  Schema:   QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561125;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1208  Schema:   QC_hit: No
# Query_time: 0.000491  Lock_time: 0.000428  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561125;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1209  Schema:   QC_hit: No
# Query_time: 0.000387  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561125;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001454  Lock_time: 0.000497  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561125;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000867  Lock_time: 0.000514  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561125;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561125;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:25.173857' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561125;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:25.174104' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001150  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561126;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000438  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561126;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:26.173577' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561126;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:26.173973' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001010  Lock_time: 0.000342  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561127;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002346  Lock_time: 0.002057  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561127;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:27.17378' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001873  Lock_time: 0.001582  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561127;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:27.174295' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000464  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561128;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005164  Lock_time: 0.004732  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561128;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:28.173469' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000576  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561128;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:28.17337' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001194  Lock_time: 0.000323  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561129;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561129;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002069  Lock_time: 0.001835  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561129;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:29.174359' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002056  Lock_time: 0.001853  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561129;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:29.174051' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1212  Schema:   QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000307  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561130;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1212  Schema:   QC_hit: No
# Query_time: 0.000522  Lock_time: 0.000346  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561130;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001257  Lock_time: 0.000322  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561130;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561130;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561130;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:30.173605' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561130;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:30.173299' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561131;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561131;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:31.17403' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561131;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:31.173541' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001304  Lock_time: 0.000331  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561132;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000883  Lock_time: 0.000433  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561132;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561132;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:32.174106' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000606  Lock_time: 0.000288  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561132;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:32.174651' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000607  Lock_time: 0.000266  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561133;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:33.174325' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561133;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:33.173836' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561133;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001163  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561134;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002472  Lock_time: 0.002260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561134;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561134;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:34.173536' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1214  Schema:   QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561135;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1214  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561135;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1213  Schema:   QC_hit: No
# Query_time: 0.002362  Lock_time: 0.002265  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561135;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1213  Schema:   QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000262  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561135;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001824  Lock_time: 0.001491  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561135;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001123  Lock_time: 0.000912  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561135;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:35.174218' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000877  Lock_time: 0.000624  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561135;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:35.173798' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005456  Lock_time: 0.005044  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561136;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:36.174917' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005865  Lock_time: 0.005610  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561136;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:36.173861' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006900  Lock_time: 0.006469  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561136;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001011  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561137;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000475  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561137;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:37.173995' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000273  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561137;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:37.174367' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002129  Lock_time: 0.001880  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561137;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001861  Lock_time: 0.001078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561138;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002969  Lock_time: 0.002650  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561138;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:38.175846' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561138;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:38.174296' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001410  Lock_time: 0.000342  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561139;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000344  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561139;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000482  Lock_time: 0.000261  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561139;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:39.174271' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002157  Lock_time: 0.001694  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561139;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:39.174166' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001182  Lock_time: 0.000338  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561140;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561140;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561140;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:40.174999' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561140;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:40.17438' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000739  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561141;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561141;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:41.174068' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000683  Lock_time: 0.000385  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561141;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:41.174101' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001109  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561142;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001014  Lock_time: 0.000798  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561142;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000473  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561142;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:42.173502' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561142;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:42.173984' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000336  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561143;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000875  Lock_time: 0.000509  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561143;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:43.174391' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000861  Lock_time: 0.000516  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561143;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:43.173264' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001897  Lock_time: 0.000299  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561144;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004336  Lock_time: 0.003985  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561144;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002777  Lock_time: 0.002402  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561144;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:44.173306' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002365  Lock_time: 0.002002  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561144;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:44.173674' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1217  Schema:   QC_hit: No
# Query_time: 0.001159  Lock_time: 0.000909  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561145;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1218  Schema:   QC_hit: No
# Query_time: 0.000694  Lock_time: 0.000526  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561145;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1218  Schema:   QC_hit: No
# Query_time: 0.001346  Lock_time: 0.001168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561145;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1217  Schema:   QC_hit: No
# Query_time: 0.000642  Lock_time: 0.000420  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561145;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002378  Lock_time: 0.002111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561145;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001337  Lock_time: 0.001037  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561145;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:45.174427' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001502  Lock_time: 0.001019  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561145;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:45.173582' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001709  Lock_time: 0.001304  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561146;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:46.173706' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561146;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002586  Lock_time: 0.002337  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561146;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:46.173094' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002607  Lock_time: 0.002268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561147;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:47.17808' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003712  Lock_time: 0.003375  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561147;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001118  Lock_time: 0.000771  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561147;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:47.177088' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002191  Lock_time: 0.001436  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561148;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001040  Lock_time: 0.000706  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561148;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:48.173808' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001924  Lock_time: 0.001456  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561148;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:48.174381' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002972  Lock_time: 0.002346  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561148;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002245  Lock_time: 0.000380  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561149;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000925  Lock_time: 0.000688  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561149;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000565  Lock_time: 0.000309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561149;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:49.173967' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001819  Lock_time: 0.001449  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561149;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:49.173769' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000296  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561150;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561150;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:50.174506' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001149  Lock_time: 0.000557  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561150;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:50.174007' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001145  Lock_time: 0.000244  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561151;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000629  Lock_time: 0.000327  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561151;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561151;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:51.173645' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001142  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561152;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001999  Lock_time: 0.001629  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561152;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:52.174111' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002678  Lock_time: 0.002277  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561152;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:52.173989' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001018  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561153;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561153;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561153;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:53.173642' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001018  Lock_time: 0.000723  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561154;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000536  Lock_time: 0.000304  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561154;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:54.174657' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000753  Lock_time: 0.000537  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561154;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:54.173924' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1221  Schema:   QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000254  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561155;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1222  Schema:   QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561155;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1222  Schema:   QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561155;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1221  Schema:   QC_hit: No
# Query_time: 0.000500  Lock_time: 0.000311  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561155;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000890  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561155;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000331  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561155;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561155;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:55.173249' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000536  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561156;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561156;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:56.17436' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561156;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:56.175111' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001265  Lock_time: 0.000427  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561157;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000878  Lock_time: 0.000676  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561157;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561157;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:57.173616' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561158;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000402  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561158;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:58.174558' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001530  Lock_time: 0.001083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561158;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:58.174596' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:25:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001035  Lock_time: 0.000263  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561159;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002218  Lock_time: 0.001840  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561159;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001972  Lock_time: 0.001151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561159;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:25:59.173436' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1225  Schema:   QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000286  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561160;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1225  Schema:   QC_hit: No
# Query_time: 0.000494  Lock_time: 0.000363  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561160;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002195  Lock_time: 0.001929  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561160;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:00.173481' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002267  Lock_time: 0.001886  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561160;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:00.174138' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003181  Lock_time: 0.003050  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561160;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000906  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561161;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004747  Lock_time: 0.004394  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561161;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004223  Lock_time: 0.003809  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561161;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:01.173915' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002084  Lock_time: 0.001730  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561162;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000514  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561162;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:02.17683' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561162;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:02.174002' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001627  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561163;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003038  Lock_time: 0.002765  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561163;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:03.174951' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005568  Lock_time: 0.003075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561163;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005723  Lock_time: 0.005515  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561163;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:03.174974' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001129  Lock_time: 0.000308  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561164;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561164;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002253  Lock_time: 0.001831  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561164;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:04.174385' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002938  Lock_time: 0.001845  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561164;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:04.17379' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1226  Schema:   QC_hit: No
# Query_time: 0.001267  Lock_time: 0.000756  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561165;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1226  Schema:   QC_hit: No
# Query_time: 0.001762  Lock_time: 0.001664  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561165;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1227  Schema:   QC_hit: No
# Query_time: 0.004619  Lock_time: 0.004427  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561165;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1227  Schema:   QC_hit: No
# Query_time: 0.000520  Lock_time: 0.000367  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561165;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001211  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561165;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561165;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561165;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:05.174919' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000975  Lock_time: 0.000658  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561166;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561166;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:06.174278' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002476  Lock_time: 0.000382  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561166;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 220410  3:26:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001983  Lock_time: 0.001212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561167;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004564  Lock_time: 0.004196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561167;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:07.176497' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001169  Lock_time: 0.000688  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561167;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:07.174427' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001543  Lock_time: 0.000699  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561168;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561168;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008052  Lock_time: 0.007589  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561168;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:08.174258' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006744  Lock_time: 0.005839  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561169;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000303  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561169;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000687  Lock_time: 0.000318  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561169;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:09.175428' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001042  Lock_time: 0.000299  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561170;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000589  Lock_time: 0.000293  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561170;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000360  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561170;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:10.179691' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001116  Lock_time: 0.000291  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561171;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003976  Lock_time: 0.003648  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561171;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000733  Lock_time: 0.000293  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561171;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:11.177624' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000998  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561172;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001467  Lock_time: 0.001081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561172;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:12.174479' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001665  Lock_time: 0.001325  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561172;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:12.174836' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003098  Lock_time: 0.002759  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561173;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002029  Lock_time: 0.001644  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561173;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:13.174036' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002726  Lock_time: 0.002336  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561173;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:13.173791' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000984  Lock_time: 0.000229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561174;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561174;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561174;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:14.174711' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1230  Schema:   QC_hit: No
# Query_time: 0.000473  Lock_time: 0.000343  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561175;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1231  Schema:   QC_hit: No
# Query_time: 0.004224  Lock_time: 0.004047  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561175;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1230  Schema:   QC_hit: No
# Query_time: 0.001128  Lock_time: 0.000942  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561175;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1231  Schema:   QC_hit: No
# Query_time: 0.001944  Lock_time: 0.001839  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561175;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001422  Lock_time: 0.001254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561175;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561175;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:15.173516' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000935  Lock_time: 0.000673  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561175;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:15.174039' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000518  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561176;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000762  Lock_time: 0.000518  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561176;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:16.174897' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001646  Lock_time: 0.000298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561176;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:16.174325' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001076  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561177;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003116  Lock_time: 0.002800  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561177;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001916  Lock_time: 0.001592  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561177;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:17.173852' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001766  Lock_time: 0.000501  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561178;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000785  Lock_time: 0.000427  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561178;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:18.172873' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561178;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:18.173028' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000959  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561179;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002624  Lock_time: 0.002275  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561179;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001663  Lock_time: 0.001279  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561179;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:19.174241' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001256  Lock_time: 0.000895  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561180;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002292  Lock_time: 0.001933  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561180;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:20.173445' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001816  Lock_time: 0.001631  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561180;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:20.173982' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001168  Lock_time: 0.000271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561181;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001719  Lock_time: 0.001489  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561181;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561181;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:21.173776' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561182;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561182;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:22.173965' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000711  Lock_time: 0.000495  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561182;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:22.174235' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001174  Lock_time: 0.000281  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561183;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002195  Lock_time: 0.001984  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561183;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561183;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:23.17332' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561183;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:23.173481' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001465  Lock_time: 0.000562  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561184;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001322  Lock_time: 0.001134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561184;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561184;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:24.173859' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1234  Schema:   QC_hit: No
# Query_time: 0.001656  Lock_time: 0.001546  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561185;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1234  Schema:   QC_hit: No
# Query_time: 0.000511  Lock_time: 0.000449  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561185;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1235  Schema:   QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000311  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561185;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1235  Schema:   QC_hit: No
# Query_time: 0.002844  Lock_time: 0.002714  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561185;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000484  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561185;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001096  Lock_time: 0.000830  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561185;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:25.173816' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561185;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:25.173414' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002851  Lock_time: 0.002512  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561186;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003120  Lock_time: 0.002161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561186;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000907  Lock_time: 0.000603  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561186;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:26.174347' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000444  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561187;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000433  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561187;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:27.17406' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000789  Lock_time: 0.000604  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561187;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:27.173362' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001157  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561188;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005427  Lock_time: 0.005167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561188;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000824  Lock_time: 0.000479  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561188;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:28.173791' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000683  Lock_time: 0.000408  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561189;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561189;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:29.173724' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000547  Lock_time: 0.000304  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561189;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:29.174143' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1238  Schema:   QC_hit: No
# Query_time: 0.000492  Lock_time: 0.000345  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561190;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1238  Schema:   QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000325  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561190;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001803  Lock_time: 0.001022  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561190;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001298  Lock_time: 0.001007  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561190;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:30.172949' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002159  Lock_time: 0.001835  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561190;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002540  Lock_time: 0.002183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561191;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:31.173103' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006781  Lock_time: 0.003525  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561191;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005644  Lock_time: 0.002209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561191;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:31.173553' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001170  Lock_time: 0.000336  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561192;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000554  Lock_time: 0.000269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561192;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:32.173336' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003174  Lock_time: 0.002124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561192;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002230  Lock_time: 0.001927  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561193;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001234  Lock_time: 0.000933  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561193;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:33.174763' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000981  Lock_time: 0.000609  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561193;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:33.174447' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000663  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561194;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002532  Lock_time: 0.002205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561194;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:34.174083' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002548  Lock_time: 0.002175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561194;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:34.174601' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1240  Schema:   QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000252  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561195;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1239  Schema:   QC_hit: No
# Query_time: 0.000653  Lock_time: 0.000519  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561195;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1239  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561195;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1240  Schema:   QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561195;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001104  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561195;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000930  Lock_time: 0.000732  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561195;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000989  Lock_time: 0.000786  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561195;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:35.173297' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002279  Lock_time: 0.001980  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561196;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561196;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:36.174473' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000738  Lock_time: 0.000374  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561196;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:36.174503' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000954  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561197;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002423  Lock_time: 0.002054  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561197;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:37.174253' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000492  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561197;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001318  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561197;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:37.181028' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001613  Lock_time: 0.000286  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561198;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.011472  Lock_time: 0.011162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561198;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003565  Lock_time: 0.003207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561198;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:38.174859' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001407  Lock_time: 0.000390  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561199;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001900  Lock_time: 0.001717  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561199;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:39.174035' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002413  Lock_time: 0.001717  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561199;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:39.173714' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001109  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561200;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000620  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561200;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561200;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:40.174078' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561201;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561201;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:41.174555' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003693  Lock_time: 0.003338  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561201;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:41.173751' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001442  Lock_time: 0.000469  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561202;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561202;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000586  Lock_time: 0.000245  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561202;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:42.174668' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000529  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561203;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561203;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:43.174229' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000693  Lock_time: 0.000322  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561203;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:43.174754' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001081  Lock_time: 0.000329  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561204;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000606  Lock_time: 0.000333  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561204;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000476  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561204;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:44.173717' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1244  Schema:   QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561205;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1243  Schema:   QC_hit: No
# Query_time: 0.002578  Lock_time: 0.002488  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561205;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1243  Schema:   QC_hit: No
# Query_time: 0.000698  Lock_time: 0.000534  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561205;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1244  Schema:   QC_hit: No
# Query_time: 0.001912  Lock_time: 0.001791  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561205;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004558  Lock_time: 0.004237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561205;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003724  Lock_time: 0.003328  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561205;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:45.174067' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003728  Lock_time: 0.003358  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561205;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:45.17385' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561206;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000513  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561206;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:46.174345' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001566  Lock_time: 0.001025  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561206;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:46.174758' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001036  Lock_time: 0.000264  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561207;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000913  Lock_time: 0.000658  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561207;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:47.174258' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001572  Lock_time: 0.001297  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561207;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003076  Lock_time: 0.002754  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561208;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561208;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:48.17954' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000546  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561208;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:48.181862' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001145  Lock_time: 0.000335  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561209;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561209;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561209;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:49.173335' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.010047  Lock_time: 0.009597  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561210;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:50.173176' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.010372  Lock_time: 0.009961  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561210;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.010341  Lock_time: 0.009551  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561210;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:50.173531' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001157  Lock_time: 0.000266  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561211;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000506  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561211;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000664  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561211;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:51.173192' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561211;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:51.174028' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001098  Lock_time: 0.000425  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561212;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000628  Lock_time: 0.000365  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561212;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561212;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:52.173552' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561212;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:52.173774' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000928  Lock_time: 0.000219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561213;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002673  Lock_time: 0.002289  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561213;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001916  Lock_time: 0.001450  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561213;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:53.173907' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000547  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561214;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001572  Lock_time: 0.001265  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561214;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:54.173864' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001887  Lock_time: 0.001579  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561214;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:54.173362' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1247  Schema:   QC_hit: No
# Query_time: 0.000908  Lock_time: 0.000766  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561215;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1248  Schema:   QC_hit: No
# Query_time: 0.006861  Lock_time: 0.006703  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561215;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1247  Schema:   QC_hit: No
# Query_time: 0.000667  Lock_time: 0.000519  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561215;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1248  Schema:   QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561215;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.007527  Lock_time: 0.006441  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561215;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006047  Lock_time: 0.005334  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561215;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:55.173712' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008008  Lock_time: 0.004961  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561215;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006758  Lock_time: 0.003878  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561215;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:55.173956' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000638  Lock_time: 0.000261  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561216;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001096  Lock_time: 0.000423  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561216;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002890  Lock_time: 0.002484  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561216;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:56.174186' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001743  Lock_time: 0.000297  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561217;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002228  Lock_time: 0.001991  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561217;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561217;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:57.180611' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000821  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561218;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561218;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:58.180775' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:26:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001100  Lock_time: 0.000318  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561219;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561219;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:26:59.17464' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001755  Lock_time: 0.000919  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561219;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1251  Schema:   QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000251  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561220;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1251  Schema:   QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561220;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000666  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561220;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000681  Lock_time: 0.000437  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561220;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:00.174065' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000925  Lock_time: 0.000700  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561220;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:00.174475' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561221;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000928  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561221;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000331  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561221;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:01.173539' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000937  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561222;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000464  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561222;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:02.173773' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001227  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561222;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:02.173605' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000988  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561223;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561223;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000451  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561223;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:03.17481' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002216  Lock_time: 0.001915  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561224;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000870  Lock_time: 0.000684  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561224;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:04.173566' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001166  Lock_time: 0.000866  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561224;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:04.173987' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1252  Schema:   QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561225;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1253  Schema:   QC_hit: No
# Query_time: 0.000814  Lock_time: 0.000406  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561225;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1252  Schema:   QC_hit: No
# Query_time: 0.001655  Lock_time: 0.001480  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561225;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1253  Schema:   QC_hit: No
# Query_time: 0.001905  Lock_time: 0.001715  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561225;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000932  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561225;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001311  Lock_time: 0.001029  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561225;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000429  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561225;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:05.173812' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000812  Lock_time: 0.000632  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561226;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000864  Lock_time: 0.000615  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561226;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:06.173617' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000599  Lock_time: 0.000255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561226;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:06.174159' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000829  Lock_time: 0.000335  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561227;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000929  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561227;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000801  Lock_time: 0.000342  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561227;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:07.177519' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001863  Lock_time: 0.001626  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561228;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001104  Lock_time: 0.000877  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561228;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:08.1726' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.017088  Lock_time: 0.016443  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561228;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 220410  3:27:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000967  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561229;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561229;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000404  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561229;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:09.173388' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561229;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:09.173854' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000798  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561230;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561230;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:10.173897' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561230;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:10.1747' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001958  Lock_time: 0.000618  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561231;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001240  Lock_time: 0.001005  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561231;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561231;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:11.173873' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000544  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561231;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:11.174219' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561232;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:12.174312' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000432  Lock_time: 0.000269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561232;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:12.17404' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000669  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561232;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001092  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561233;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000483  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561233;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000672  Lock_time: 0.000390  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561233;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:13.174139' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003667  Lock_time: 0.003479  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561234;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561234;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:14.173402' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000521  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561234;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:14.173702' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1258  Schema:   QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561235;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1258  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561235;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1259  Schema:   QC_hit: No
# Query_time: 0.002846  Lock_time: 0.002691  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561235;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1259  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561235;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000978  Lock_time: 0.000266  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561235;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561235;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002260  Lock_time: 0.001975  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561235;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:15.173455' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002991  Lock_time: 0.002757  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561235;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:15.173136' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001105  Lock_time: 0.000432  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561236;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002119  Lock_time: 0.001861  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561236;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000517  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561236;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:16.173379' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001115  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561237;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561237;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:17.173632' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561237;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:17.173299' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002360  Lock_time: 0.001421  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561238;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561238;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000926  Lock_time: 0.000675  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561238;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:18.174466' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000821  Lock_time: 0.000548  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561239;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000472  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561239;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:19.174032' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002597  Lock_time: 0.002307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561240;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561240;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:20.17413' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000565  Lock_time: 0.000303  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561240;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:20.173348' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001251  Lock_time: 0.000269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561241;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000568  Lock_time: 0.000368  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561241;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561241;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:21.174641' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000599  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561241;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:21.174273' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001084  Lock_time: 0.000276  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561242;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000535  Lock_time: 0.000240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561242;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000536  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561242;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:22.173914' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004132  Lock_time: 0.003835  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561243;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003206  Lock_time: 0.002908  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561243;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:23.172145' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004629  Lock_time: 0.004039  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561243;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 220410  3:27:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000818  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561244;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001621  Lock_time: 0.001348  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561244;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001716  Lock_time: 0.001462  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561244;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:24.174203' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001506  Lock_time: 0.001247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561244;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:24.174572' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1262  Schema:   QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561245;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1263  Schema:   QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561245;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1262  Schema:   QC_hit: No
# Query_time: 0.000475  Lock_time: 0.000239  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561245;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1263  Schema:   QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000286  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561245;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000987  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561245;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000704  Lock_time: 0.000480  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561245;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:25.173787' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000962  Lock_time: 0.000741  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561245;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:25.173196' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561246;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001327  Lock_time: 0.000769  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561246;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:26.173524' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000547  Lock_time: 0.000286  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561246;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:26.174241' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000983  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561247;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561247;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561247;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:27.175407' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000726  Lock_time: 0.000387  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561247;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:27.175153' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001688  Lock_time: 0.000267  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561248;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000525  Lock_time: 0.000286  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561248;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000598  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561248;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:28.173826' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561248;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:28.174355' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001063  Lock_time: 0.000321  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561249;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001713  Lock_time: 0.001508  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561249;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561249;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:29.174599' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000875  Lock_time: 0.000494  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561249;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:29.173668' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1266  Schema:   QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000219  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561250;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1266  Schema:   QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000337  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561250;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001020  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561250;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561250;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002046  Lock_time: 0.001707  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561250;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:30.174128' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561251;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003331  Lock_time: 0.002887  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561251;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:31.173446' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003149  Lock_time: 0.002666  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561251;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:31.173367' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001479  Lock_time: 0.000595  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561252;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004257  Lock_time: 0.004004  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561252;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003878  Lock_time: 0.003593  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561252;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:32.174381' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003605  Lock_time: 0.003222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561252;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:32.174318' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001131  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561253;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002130  Lock_time: 0.001811  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561253;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:33.174249' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002172  Lock_time: 0.001773  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561253;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:33.173242' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001500  Lock_time: 0.000308  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561254;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561254;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561254;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:34.174626' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000982  Lock_time: 0.000747  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561254;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:34.174556' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1267  Schema:   QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000242  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561255;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1268  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561255;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1268  Schema:   QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000304  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561255;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1267  Schema:   QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000350  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561255;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001133  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561255;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561255;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:35.173295' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000534  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561255;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:35.173806' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561256;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000605  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561256;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:36.175454' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561256;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:36.174673' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001180  Lock_time: 0.000388  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561257;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001459  Lock_time: 0.001203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561257;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:37.173492' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000793  Lock_time: 0.000528  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561257;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:37.173818' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561257;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001181  Lock_time: 0.000353  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561258;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000455  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561258;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:38.17361' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000500  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561258;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000433  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561259;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561259;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:39.173149' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561259;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:39.173988' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001380  Lock_time: 0.000300  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561260;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000749  Lock_time: 0.000587  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561260;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561260;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:40.174238' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561261;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561261;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:41.174171' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000525  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561261;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:41.173936' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001142  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561262;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000454  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561262;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000562  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561262;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:42.173943' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000903  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561263;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561263;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:43.173735' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561263;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:43.174063' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001219  Lock_time: 0.000363  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561264;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561264;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561264;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:44.174469' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000511  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561264;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:44.174069' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1271  Schema:   QC_hit: No
# Query_time: 0.000468  Lock_time: 0.000319  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561265;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1272  Schema:   QC_hit: No
# Query_time: 0.003303  Lock_time: 0.003182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561265;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1271  Schema:   QC_hit: No
# Query_time: 0.000897  Lock_time: 0.000651  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561265;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1272  Schema:   QC_hit: No
# Query_time: 0.002288  Lock_time: 0.001968  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561265;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000983  Lock_time: 0.000322  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561265;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002725  Lock_time: 0.002453  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561265;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:45.173432' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002734  Lock_time: 0.002516  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561265;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:45.17368' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001915  Lock_time: 0.001642  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561266;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000903  Lock_time: 0.000654  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561266;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:46.173664' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561266;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:46.173554' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000994  Lock_time: 0.000259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561267;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561267;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002940  Lock_time: 0.002621  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561267;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:47.173783' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561268;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000525  Lock_time: 0.000339  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561268;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:48.179352' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000517  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561268;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:48.179716' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002194  Lock_time: 0.000348  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561269;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561269;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561269;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:49.173738' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561269;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:49.174758' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001125  Lock_time: 0.000271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561270;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561270;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561270;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:50.174655' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000980  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561271;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561271;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:51.174256' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000322  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561271;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:51.175285' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002831  Lock_time: 0.002071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561272;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561272;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:52.174315' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561272;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:52.175164' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000949  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561273;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000792  Lock_time: 0.000518  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561273;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561273;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:53.174381' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001159  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561274;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002208  Lock_time: 0.001949  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561274;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002397  Lock_time: 0.002168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561274;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:54.174337' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1275  Schema:   QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000208  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561275;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1275  Schema:   QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561275;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1276  Schema:   QC_hit: No
# Query_time: 0.002959  Lock_time: 0.002717  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561275;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1276  Schema:   QC_hit: No
# Query_time: 0.000492  Lock_time: 0.000341  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561275;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000883  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561275;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001483  Lock_time: 0.001170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561275;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:55.174886' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002125  Lock_time: 0.001812  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561275;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:55.174213' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561276;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001326  Lock_time: 0.000410  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561276;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000505  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561276;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:56.174813' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000542  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561276;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:56.174857' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000996  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561277;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000412  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561277;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561277;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:57.176447' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001080  Lock_time: 0.000411  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561278;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004813  Lock_time: 0.004345  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561278;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:58.174979' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000596  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561278;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:58.174346' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:27:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001020  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561279;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561279;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:59.174794' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002681  Lock_time: 0.002295  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561279;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:27:59.174307' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1279  Schema:   QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561280;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1279  Schema:   QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561280;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000959  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561280;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561280;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561280;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:00.173249' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000492  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561280;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:00.17383' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561281;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561281;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:01.17391' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000482  Lock_time: 0.000219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561281;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:01.173788' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561282;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002434  Lock_time: 0.001573  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561282;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000616  Lock_time: 0.000304  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561282;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:02.173938' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561282;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:02.174204' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001257  Lock_time: 0.000267  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561283;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000452  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561283;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561283;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:03.174631' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561283;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:03.174554' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001077  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561284;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005074  Lock_time: 0.004799  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561284;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004045  Lock_time: 0.003802  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561284;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:04.174103' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000561  Lock_time: 0.000244  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561284;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:04.173724' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1280  Schema:   QC_hit: No
# Query_time: 0.001042  Lock_time: 0.000894  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561285;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1281  Schema:   QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561285;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1281  Schema:   QC_hit: No
# Query_time: 0.000568  Lock_time: 0.000446  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561285;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1280  Schema:   QC_hit: No
# Query_time: 0.000619  Lock_time: 0.000370  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561285;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001137  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561285;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561285;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000473  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561285;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:05.177086' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561285;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:05.177695' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001223  Lock_time: 0.000264  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561286;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003340  Lock_time: 0.003026  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561286;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:06.173593' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001460  Lock_time: 0.000762  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561286;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:06.176271' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004732  Lock_time: 0.004479  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561286;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004973  Lock_time: 0.004637  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561287;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001122  Lock_time: 0.000761  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561287;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:07.174596' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001024  Lock_time: 0.000282  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561287;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:07.175242' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001090  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561288;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561288;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:08.174545' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002061  Lock_time: 0.001765  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561288;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000612  Lock_time: 0.000361  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561288;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:08.174502' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000476  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561289;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000480  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561289;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:09.173592' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000306  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561289;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:09.175418' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000864  Lock_time: 0.000580  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561290;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000883  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561290;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561290;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:10.175468' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561290;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:10.175264' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002873  Lock_time: 0.002046  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561291;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561291;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000659  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561291;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:11.173783' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003680  Lock_time: 0.002668  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561292;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561292;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561292;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:12.17409' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000496  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561293;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561293;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:13.173895' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561293;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:13.174289' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001200  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561294;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001190  Lock_time: 0.000942  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561294;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000622  Lock_time: 0.000321  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561294;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:14.174276' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000629  Lock_time: 0.000315  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561294;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:14.173929' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1285  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561295;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1284  Schema:   QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561295;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1285  Schema:   QC_hit: No
# Query_time: 0.000460  Lock_time: 0.000275  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561295;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1284  Schema:   QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000269  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561295;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000788  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561295;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005095  Lock_time: 0.004745  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561295;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003099  Lock_time: 0.002855  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561295;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:15.174461' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561296;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:16.173591' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002086  Lock_time: 0.001816  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561296;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001078  Lock_time: 0.000823  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561296;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:16.174179' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000732  Lock_time: 0.000346  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561297;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:17.174024' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000598  Lock_time: 0.000387  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561297;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:17.17441' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002433  Lock_time: 0.001936  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561297;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 220410  3:28:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000997  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561298;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000782  Lock_time: 0.000443  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561298;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000566  Lock_time: 0.000262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561298;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:18.173884' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001017  Lock_time: 0.000263  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561299;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001103  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561299;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561299;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:19.175338' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002575  Lock_time: 0.001649  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561300;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561300;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561300;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:20.174885' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000486  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561301;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:21.174082' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000454  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561301;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:21.174428' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000984  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561302;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000526  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561302;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561302;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:22.174407' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002254  Lock_time: 0.001912  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561303;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000891  Lock_time: 0.000553  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561303;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:23.173428' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001606  Lock_time: 0.000491  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561303;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:23.173886' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001105  Lock_time: 0.000355  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561304;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001969  Lock_time: 0.001755  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561304;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001331  Lock_time: 0.001128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561304;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:24.173096' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1289  Schema:   QC_hit: No
# Query_time: 0.000656  Lock_time: 0.000244  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561305;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1288  Schema:   QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000238  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561305;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1288  Schema:   QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561305;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1289  Schema:   QC_hit: No
# Query_time: 0.001058  Lock_time: 0.000870  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561305;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001641  Lock_time: 0.001410  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561305;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:25.174319' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001737  Lock_time: 0.001472  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561305;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:25.175216' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002100  Lock_time: 0.001818  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561305;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001630  Lock_time: 0.000784  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561306;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561306;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002806  Lock_time: 0.002553  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561306;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:26.175518' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002923  Lock_time: 0.001895  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561306;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:26.175211' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001045  Lock_time: 0.000276  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561307;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000494  Lock_time: 0.000269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561307;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000804  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561307;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:27.173168' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000944  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561308;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000706  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561308;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:28.173255' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000302  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561308;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:28.174392' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000700  Lock_time: 0.000570  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561308;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000931  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561309;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000468  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561309;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000451  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561309;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:29.174523' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000544  Lock_time: 0.000347  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561309;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:29.17602' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1292  Schema:   QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561310;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1292  Schema:   QC_hit: No
# Query_time: 0.000767  Lock_time: 0.000576  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561310;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000458  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561310;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561310;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:30.173334' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561310;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:30.174087' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001048  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561311;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000874  Lock_time: 0.000582  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561311;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001080  Lock_time: 0.000870  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561311;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:31.17389' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001323  Lock_time: 0.000551  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561312;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561312;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000479  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561312;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:32.174546' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000981  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561313;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000584  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561313;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:33.174286' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000715  Lock_time: 0.000295  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561313;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:33.174051' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001215  Lock_time: 0.000270  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561314;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000451  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561314;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000443  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561314;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:34.174065' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000703  Lock_time: 0.000255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561314;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:34.174561' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1293  Schema:   QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000197  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561315;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1294  Schema:   QC_hit: No
# Query_time: 0.001095  Lock_time: 0.000948  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561315;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1293  Schema:   QC_hit: No
# Query_time: 0.000740  Lock_time: 0.000534  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561315;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1294  Schema:   QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000232  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561315;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001271  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561315;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002778  Lock_time: 0.002498  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561315;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000909  Lock_time: 0.000564  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561315;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:35.174063' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002357  Lock_time: 0.002060  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561316;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001232  Lock_time: 0.000789  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561316;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:36.174356' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001498  Lock_time: 0.000678  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561316;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:36.173929' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000950  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561317;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000490  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561317;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:37.173333' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561317;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:37.173105' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561318;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:38.173923' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000882  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561318;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000663  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561318;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:38.173723' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561318;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003677  Lock_time: 0.002891  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561319;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000676  Lock_time: 0.000424  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561319;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561319;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:39.174531' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000548  Lock_time: 0.000296  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561319;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:39.174469' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001239  Lock_time: 0.000326  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561320;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000568  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561320;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000686  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561320;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:40.173414' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000773  Lock_time: 0.000519  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561320;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:40.173329' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001093  Lock_time: 0.000281  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561321;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000521  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561321;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001986  Lock_time: 0.001710  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561321;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:41.173701' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001109  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561322;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003636  Lock_time: 0.003260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561322;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:42.173822' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001825  Lock_time: 0.001460  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561322;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:42.174273' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001036  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561323;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000578  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561323;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000395  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561323;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:43.174611' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000455  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561323;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:43.175182' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000963  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561324;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002326  Lock_time: 0.002076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561324;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000395  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561324;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:44.175775' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1298  Schema:   QC_hit: No
# Query_time: 0.000719  Lock_time: 0.000574  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561325;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1298  Schema:   QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000431  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561325;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1297  Schema:   QC_hit: No
# Query_time: 0.000412  Lock_time: 0.000266  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561325;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1297  Schema:   QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561325;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003497  Lock_time: 0.003237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561325;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002589  Lock_time: 0.002320  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561325;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:45.173685' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000897  Lock_time: 0.000662  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561325;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:45.173174' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000490  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561326;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000573  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561326;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:46.174003' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001028  Lock_time: 0.000856  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561326;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:46.174166' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001209  Lock_time: 0.000294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561327;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002726  Lock_time: 0.002306  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561327;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:47.174049' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002658  Lock_time: 0.002253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561327;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:47.173624' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001036  Lock_time: 0.000347  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561328;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000464  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561328;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:48.173603' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001872  Lock_time: 0.001699  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561328;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561329;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561329;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:49.173366' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001785  Lock_time: 0.001608  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561329;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:49.173747' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000805  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561330;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561330;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561330;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:50.173689' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000541  Lock_time: 0.000390  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561330;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:50.174234' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000913  Lock_time: 0.000254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561331;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000556  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561331;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:51.173823' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000454  Lock_time: 0.000283  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561331;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:51.174323' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001106  Lock_time: 0.000746  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561332;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000557  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561332;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:52.173199' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000554  Lock_time: 0.000359  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561332;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:52.173901' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003038  Lock_time: 0.002229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561333;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000584  Lock_time: 0.000332  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561333;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000874  Lock_time: 0.000615  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561333;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:53.174563' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001970  Lock_time: 0.001671  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561334;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000734  Lock_time: 0.000482  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561334;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:54.173092' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000818  Lock_time: 0.000457  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561334;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:54.173748' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1301  Schema:   QC_hit: No
# Query_time: 0.000476  Lock_time: 0.000345  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561335;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1302  Schema:   QC_hit: No
# Query_time: 0.000518  Lock_time: 0.000440  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561335;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1301  Schema:   QC_hit: No
# Query_time: 0.000530  Lock_time: 0.000330  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561335;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1302  Schema:   QC_hit: No
# Query_time: 0.001309  Lock_time: 0.001187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561335;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000811  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561335;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001825  Lock_time: 0.001605  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561335;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000836  Lock_time: 0.000412  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561335;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:55.173699' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000688  Lock_time: 0.000415  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561335;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:55.174262' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001195  Lock_time: 0.000288  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561336;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002624  Lock_time: 0.002348  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561336;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:56.17403' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002406  Lock_time: 0.002129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561336;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:56.1744' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001154  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561337;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000758  Lock_time: 0.000488  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561337;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001151  Lock_time: 0.000770  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561337;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:57.174112' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003017  Lock_time: 0.002629  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561337;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:57.175199' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001446  Lock_time: 0.000402  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561338;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561338;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:58.173977' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000669  Lock_time: 0.000307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561338;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:58.173597' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:28:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000593  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561339;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561339;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:59.174336' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561339;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:28:59.173717' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1305  Schema:   QC_hit: No
# Query_time: 0.000429  Lock_time: 0.000304  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561340;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1305  Schema:   QC_hit: No
# Query_time: 0.000601  Lock_time: 0.000412  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561340;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000964  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561340;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561340;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561340;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:00.174386' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561340;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:00.17438' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003100  Lock_time: 0.002725  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561341;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:01.175072' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004745  Lock_time: 0.004577  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561341;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003007  Lock_time: 0.002632  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561341;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:01.174908' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001427  Lock_time: 0.001138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561342;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003671  Lock_time: 0.003024  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561342;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000546  Lock_time: 0.000255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561342;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:02.174861' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000945  Lock_time: 0.000588  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561342;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:02.173963' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001685  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561343;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002645  Lock_time: 0.002255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561343;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561343;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:03.174396' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561344;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000331  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561344;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:04.173902' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002370  Lock_time: 0.002092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561344;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:04.174388' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1306  Schema:   QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000216  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561345;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1306  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561345;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1307  Schema:   QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000216  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561345;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1307  Schema:   QC_hit: No
# Query_time: 0.004945  Lock_time: 0.004678  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561345;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001880  Lock_time: 0.000939  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561345;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000829  Lock_time: 0.000599  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561345;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006625  Lock_time: 0.006150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561345;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:05.174464' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001082  Lock_time: 0.000313  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561346;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002865  Lock_time: 0.002591  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561346;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002932  Lock_time: 0.002650  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561346;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:06.174913' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561347;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000460  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561347;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:07.174656' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002289  Lock_time: 0.001925  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561347;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:07.174395' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001268  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561348;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000794  Lock_time: 0.000574  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561348;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.017341  Lock_time: 0.016893  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561348;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:08.174712' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001145  Lock_time: 0.000319  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561349;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561349;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000772  Lock_time: 0.000313  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561349;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:09.173422' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000535  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561350;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561350;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:10.1741' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000564  Lock_time: 0.000305  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561350;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:10.173383' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001652  Lock_time: 0.000814  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561351;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000648  Lock_time: 0.000341  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561351;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000883  Lock_time: 0.000603  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561351;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:11.173879' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000647  Lock_time: 0.000386  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561351;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:11.17428' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561352;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000538  Lock_time: 0.000302  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561352;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:12.173529' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561352;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:12.174614' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001000  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561353;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002272  Lock_time: 0.002035  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561353;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561353;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:13.173221' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001047  Lock_time: 0.000681  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561354;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:14.174414' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002787  Lock_time: 0.002436  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561354;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001927  Lock_time: 0.001700  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561354;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:14.173755' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1310  Schema:   QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000283  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561355;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1310  Schema:   QC_hit: No
# Query_time: 0.000453  Lock_time: 0.000371  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561355;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1311  Schema:   QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000246  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561355;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1311  Schema:   QC_hit: No
# Query_time: 0.000615  Lock_time: 0.000441  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561355;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001006  Lock_time: 0.000275  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561355;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561355;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004075  Lock_time: 0.003747  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561355;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:15.174278' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001359  Lock_time: 0.000374  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561355;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:15.187767' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001261  Lock_time: 0.000262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561356;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561356;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002375  Lock_time: 0.002027  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561356;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:16.174668' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001369  Lock_time: 0.000378  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561357;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561357;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:17.17806' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561357;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:17.179592' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001043  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561358;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561358;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000440  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561358;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:18.174786' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561359;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:19.17587' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561359;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:19.174953' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001107  Lock_time: 0.000246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561360;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000565  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561360;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002742  Lock_time: 0.002300  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561360;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:20.174859' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002784  Lock_time: 0.002336  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561360;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:20.174432' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001034  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561361;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561361;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561361;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:21.173764' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001240  Lock_time: 0.000866  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561362;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004256  Lock_time: 0.004042  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561362;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:22.173186' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000491  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561362;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:22.173646' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001140  Lock_time: 0.000534  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561363;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000735  Lock_time: 0.000411  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561363;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000505  Lock_time: 0.000314  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561363;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:23.173892' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003065  Lock_time: 0.002646  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561364;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001829  Lock_time: 0.001360  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561364;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:24.173282' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561364;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:24.173942' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1314  Schema:   QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000293  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561365;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1315  Schema:   QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561365;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1315  Schema:   QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561365;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1314  Schema:   QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000292  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561365;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001151  Lock_time: 0.000309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561365;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004429  Lock_time: 0.004086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561365;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000858  Lock_time: 0.000524  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561365;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:25.174083' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000354  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561365;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:25.173798' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001135  Lock_time: 0.000263  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561366;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.010819  Lock_time: 0.010460  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561366;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:26.174636' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.011661  Lock_time: 0.011397  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561366;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000704  Lock_time: 0.000441  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561366;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:26.175221' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561367;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561367;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:27.173221' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002252  Lock_time: 0.001960  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561367;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:27.173729' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001565  Lock_time: 0.000696  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561368;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000580  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561368;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002376  Lock_time: 0.001990  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561368;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:28.175265' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002522  Lock_time: 0.002028  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561368;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:28.175238' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001036  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561369;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561369;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561369;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:29.17364' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000265  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561369;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:29.174178' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1318  Schema:   QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000333  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561370;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1318  Schema:   QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000359  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561370;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001090  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561370;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000387  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561370;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561370;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:30.174113' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000559  Lock_time: 0.000314  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561371;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561371;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:31.174221' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001252  Lock_time: 0.000973  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561371;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:31.173935' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001127  Lock_time: 0.000246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561372;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003434  Lock_time: 0.003144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561372;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001982  Lock_time: 0.001692  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561372;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:32.173066' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002263  Lock_time: 0.002004  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561373;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561373;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:33.173673' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561373;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:33.174396' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001245  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561374;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002277  Lock_time: 0.002012  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561374;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561374;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:34.174177' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561374;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:34.17393' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1319  Schema:   QC_hit: No
# Query_time: 0.000453  Lock_time: 0.000320  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561375;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1320  Schema:   QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000216  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561375;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1320  Schema:   QC_hit: No
# Query_time: 0.000665  Lock_time: 0.000512  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561375;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1319  Schema:   QC_hit: No
# Query_time: 0.000562  Lock_time: 0.000397  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561375;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561375;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000527  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561375;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:35.173363' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000484  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561375;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:35.173686' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001521  Lock_time: 0.000445  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561376;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000554  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561376;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:36.174018' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001163  Lock_time: 0.000811  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561376;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:36.173456' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561377;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561377;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:37.175588' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561378;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561378;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:38.174025' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000526  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561378;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:38.174198' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001478  Lock_time: 0.000719  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561379;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001719  Lock_time: 0.001532  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561379;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000534  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561379;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:39.174804' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001228  Lock_time: 0.000452  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561380;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000954  Lock_time: 0.000654  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561380;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:40.17386' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561380;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:40.173592' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001148  Lock_time: 0.000286  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561381;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561381;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001987  Lock_time: 0.001714  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561381;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:41.173001' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002059  Lock_time: 0.001732  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561381;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:41.173446' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561382;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001113  Lock_time: 0.000901  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561382;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:42.17308' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002005  Lock_time: 0.001751  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561382;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:42.173602' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000908  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561383;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001866  Lock_time: 0.001587  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561383;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000846  Lock_time: 0.000607  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561383;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:43.173877' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001063  Lock_time: 0.000254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561384;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000491  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561384;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:44.174056' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002025  Lock_time: 0.001648  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561384;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:44.173618' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1324  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561385;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1323  Schema:   QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561385;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1324  Schema:   QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000377  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561385;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1323  Schema:   QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000361  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561385;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000842  Lock_time: 0.000585  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561385;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561385;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:45.173689' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561385;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:45.173834' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561386;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561386;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:46.174225' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561386;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:46.174189' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000931  Lock_time: 0.000267  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561387;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003285  Lock_time: 0.002796  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561387;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003513  Lock_time: 0.003002  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561387;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:47.173567' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002566  Lock_time: 0.001704  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561387;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:47.17391' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000846  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561388;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002334  Lock_time: 0.002104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561388;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:48.17367' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000608  Lock_time: 0.000418  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561388;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:48.176434' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001084  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561389;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561389;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000535  Lock_time: 0.000356  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561389;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:49.173597' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000725  Lock_time: 0.000483  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561389;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:49.173949' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001428  Lock_time: 0.000525  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561390;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561390;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561390;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:50.174375' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003808  Lock_time: 0.003053  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561391;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561391;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561391;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:51.174201' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001446  Lock_time: 0.001265  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561392;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000942  Lock_time: 0.000552  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561392;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:52.174796' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000599  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561392;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:52.174624' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001048  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561393;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001073  Lock_time: 0.000841  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561393;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000750  Lock_time: 0.000489  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561393;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:53.173645' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000970  Lock_time: 0.000700  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561394;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561394;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:54.174081' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561394;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:54.17442' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1328  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561395;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1327  Schema:   QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561395;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1328  Schema:   QC_hit: No
# Query_time: 0.000642  Lock_time: 0.000441  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561395;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1327  Schema:   QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000290  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561395;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561395;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561395;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:55.173776' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002012  Lock_time: 0.000984  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561395;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 220410  3:29:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000909  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561396;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002220  Lock_time: 0.001866  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561396;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:56.1739' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001480  Lock_time: 0.001171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561396;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:56.173775' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000979  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561397;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561397;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:57.17531' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003412  Lock_time: 0.002973  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561397;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:57.174198' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003105  Lock_time: 0.002222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561398;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561398;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561398;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:58.174361' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561398;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:58.174062' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:29:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001150  Lock_time: 0.000387  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561399;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561399;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561399;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:29:59.175352' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1331  Schema:   QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000237  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561400;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1331  Schema:   QC_hit: No
# Query_time: 0.000549  Lock_time: 0.000413  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561400;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000667  Lock_time: 0.000314  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561400;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561400;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:00.174626' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000373  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561400;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:00.173794' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003028  Lock_time: 0.002245  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561401;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561401;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561401;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:01.17386' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000510  Lock_time: 0.000276  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561401;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:01.174374' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003760  Lock_time: 0.002916  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561402;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561402;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:02.176729' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561402;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:02.175141' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000987  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561403;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561403;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001558  Lock_time: 0.001348  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561403;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:03.17347' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002470  Lock_time: 0.002217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561404;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001680  Lock_time: 0.001491  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561404;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:04.173525' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001262  Lock_time: 0.001087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561404;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:04.17389' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1332  Schema:   QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561405;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1333  Schema:   QC_hit: No
# Query_time: 0.001329  Lock_time: 0.001237  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561405;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1332  Schema:   QC_hit: No
# Query_time: 0.000711  Lock_time: 0.000223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561405;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1333  Schema:   QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000237  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561405;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001030  Lock_time: 0.000319  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561405;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561405;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000838  Lock_time: 0.000579  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561405;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:05.173927' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561405;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:05.175274' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000788  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561406;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561406;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005611  Lock_time: 0.005285  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561406;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:06.17388' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000672  Lock_time: 0.000391  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561407;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561407;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:07.173672' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000478  Lock_time: 0.000282  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561407;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:07.174168' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000997  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561408;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561408;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561408;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:08.17399' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000828  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561409;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561409;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:09.17595' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000554  Lock_time: 0.000413  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561409;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561410;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561410;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:10.17415' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000681  Lock_time: 0.000350  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561410;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:10.174286' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001375  Lock_time: 0.000412  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561411;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002420  Lock_time: 0.002147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561411;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000905  Lock_time: 0.000586  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561411;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:11.173882' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001700  Lock_time: 0.001409  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561411;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:11.173388' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003040  Lock_time: 0.002639  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561412;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001466  Lock_time: 0.001150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561412;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:12.173747' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001818  Lock_time: 0.001460  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561412;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:12.174245' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001116  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561413;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001155  Lock_time: 0.000713  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561413;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:13.174251' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001131  Lock_time: 0.000710  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561413;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:13.174761' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000601  Lock_time: 0.000219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561414;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000402  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561414;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:14.17453' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561414;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:14.175033' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1337  Schema:   QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561415;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1336  Schema:   QC_hit: No
# Query_time: 0.000513  Lock_time: 0.000401  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561415;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1337  Schema:   QC_hit: No
# Query_time: 0.002002  Lock_time: 0.001848  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561415;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1336  Schema:   QC_hit: No
# Query_time: 0.000373  Lock_time: 0.000250  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561415;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001175  Lock_time: 0.000464  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561415;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002278  Lock_time: 0.001937  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561415;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000781  Lock_time: 0.000468  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561415;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:15.17381' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002017  Lock_time: 0.001401  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561416;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:16.174885' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001610  Lock_time: 0.001307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561416;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:16.174815' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005740  Lock_time: 0.004981  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561416;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 220410  3:30:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001192  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561417;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561417;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561417;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:17.173549' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000529  Lock_time: 0.000288  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561417;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:17.173707' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000429  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561418;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000672  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561418;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:18.173602' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000690  Lock_time: 0.000411  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561418;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:18.173792' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000910  Lock_time: 0.000219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561419;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561419;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561419;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:19.173518' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561420;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000863  Lock_time: 0.000632  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561420;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:20.175097' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000634  Lock_time: 0.000395  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561420;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:20.173915' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000919  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561421;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002129  Lock_time: 0.001737  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561421;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000576  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561421;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:21.173569' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002125  Lock_time: 0.001840  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561422;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001103  Lock_time: 0.000747  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561422;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:22.174165' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000902  Lock_time: 0.000707  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561422;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:22.173609' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000962  Lock_time: 0.000286  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561423;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001814  Lock_time: 0.001505  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561423;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001631  Lock_time: 0.001371  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561423;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:23.174306' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002601  Lock_time: 0.002305  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561423;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:23.173898' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001075  Lock_time: 0.000293  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561424;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000662  Lock_time: 0.000445  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561424;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002233  Lock_time: 0.001982  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561424;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:24.1752' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1340  Schema:   QC_hit: No
# Query_time: 0.000819  Lock_time: 0.000672  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561425;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1341  Schema:   QC_hit: No
# Query_time: 0.000922  Lock_time: 0.000838  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561425;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1340  Schema:   QC_hit: No
# Query_time: 0.000629  Lock_time: 0.000528  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561425;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1341  Schema:   QC_hit: No
# Query_time: 0.001701  Lock_time: 0.001453  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561425;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000896  Lock_time: 0.000283  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561425;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561425;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:25.174041' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561425;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:25.174239' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001016  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561426;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000451  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561426;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000679  Lock_time: 0.000473  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561426;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:26.173712' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000855  Lock_time: 0.000408  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561426;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:26.173571' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000988  Lock_time: 0.000240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561427;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561427;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561427;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:27.173492' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005352  Lock_time: 0.004360  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561428;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002987  Lock_time: 0.002700  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561428;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002518  Lock_time: 0.002230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561428;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:28.173534' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000531  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561428;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:28.174001' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002723  Lock_time: 0.001967  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561429;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561429;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:29.1731' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001159  Lock_time: 0.000900  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561429;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:29.173424' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1344  Schema:   QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000229  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561430;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1344  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561430;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561430;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561430;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:30.173335' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561430;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:30.173688' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000923  Lock_time: 0.000280  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561431;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561431;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000587  Lock_time: 0.000366  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561431;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:31.173404' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000785  Lock_time: 0.000490  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561432;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:32.173418' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000792  Lock_time: 0.000469  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561432;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:32.173732' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002404  Lock_time: 0.001632  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561432;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000834  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561433;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000530  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561433;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001351  Lock_time: 0.001122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561433;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:33.174163' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002275  Lock_time: 0.001999  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561433;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:33.17495' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001002  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561434;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002745  Lock_time: 0.002474  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561434;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001758  Lock_time: 0.001455  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561434;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:34.174158' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001668  Lock_time: 0.001472  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561434;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:34.173687' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1346  Schema:   QC_hit: No
# Query_time: 0.000652  Lock_time: 0.000500  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561435;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1345  Schema:   QC_hit: No
# Query_time: 0.000606  Lock_time: 0.000524  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561435;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1346  Schema:   QC_hit: No
# Query_time: 0.001617  Lock_time: 0.001520  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561435;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1345  Schema:   QC_hit: No
# Query_time: 0.000595  Lock_time: 0.000420  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561435;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000305  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561435;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561435;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:35.175378' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561435;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:35.174571' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001140  Lock_time: 0.000392  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561436;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000350  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561436;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000544  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561436;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:36.173119' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561436;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:36.17418' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000690  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561437;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:37.175634' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561437;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:37.17507' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000991  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561438;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561438;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:38.175786' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561438;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:38.174248' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000743  Lock_time: 0.000367  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561439;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:39.174515' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561439;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:39.174687' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000655  Lock_time: 0.000393  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561439;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001201  Lock_time: 0.000366  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561440;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001971  Lock_time: 0.001645  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561440;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006518  Lock_time: 0.006170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561440;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:40.173437' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001033  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561441;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000639  Lock_time: 0.000344  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561441;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:41.174489' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002907  Lock_time: 0.002732  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561441;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:41.174867' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001132  Lock_time: 0.000404  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561442;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001306  Lock_time: 0.000980  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561442;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:42.17411' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001693  Lock_time: 0.001375  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561442;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:42.17377' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000529  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561443;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000965  Lock_time: 0.000336  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561443;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561443;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:43.174505' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561444;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561444;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:44.174071' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000891  Lock_time: 0.000655  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561444;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:44.174567' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1349  Schema:   QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561445;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1350  Schema:   QC_hit: No
# Query_time: 0.000666  Lock_time: 0.000411  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561445;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1349  Schema:   QC_hit: No
# Query_time: 0.000761  Lock_time: 0.000665  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561445;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1350  Schema:   QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000269  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561445;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001825  Lock_time: 0.000395  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561445;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.007178  Lock_time: 0.006873  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561445;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002910  Lock_time: 0.002651  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561445;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:45.17349' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002478  Lock_time: 0.002205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561446;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000580  Lock_time: 0.000425  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561446;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:46.174671' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001065  Lock_time: 0.000740  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561447;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:47.17414' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002501  Lock_time: 0.002213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561447;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001005  Lock_time: 0.000519  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561447;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:47.173779' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561448;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001920  Lock_time: 0.001626  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561448;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:48.174194' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002645  Lock_time: 0.001657  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561448;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000402  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561448;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:48.174863' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000892  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561449;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561449;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001437  Lock_time: 0.001254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561449;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:49.173526' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001636  Lock_time: 0.001487  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561449;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:49.173935' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001201  Lock_time: 0.000942  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561450;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561450;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:50.17463' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001043  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561451;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002159  Lock_time: 0.001954  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561451;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001384  Lock_time: 0.001168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561451;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:51.173317' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001139  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561452;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000486  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561452;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000564  Lock_time: 0.000371  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561452;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:52.173017' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561452;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:52.173734' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000961  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561453;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561453;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561453;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:53.173325' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001741  Lock_time: 0.001554  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561453;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:53.173671' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001196  Lock_time: 0.000219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561454;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561454;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:54.17315' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561454;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:54.174218' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1354  Schema:   QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561455;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1353  Schema:   QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000252  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561455;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1353  Schema:   QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000203  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561455;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1354  Schema:   QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000294  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561455;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000808  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561455;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561455;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000836  Lock_time: 0.000564  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561455;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:55.174493' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561456;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000526  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561456;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:56.173713' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561456;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:56.174457' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000534  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561457;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001118  Lock_time: 0.000471  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561457;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561457;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:57.173603' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001286  Lock_time: 0.000926  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561458;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561458;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:58.174108' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000573  Lock_time: 0.000272  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561458;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:58.175499' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:30:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000798  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561459;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000704  Lock_time: 0.000508  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561459;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:59.174352' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000728  Lock_time: 0.000452  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561459;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:30:59.174767' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1357  Schema:   QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561460;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1357  Schema:   QC_hit: No
# Query_time: 0.000567  Lock_time: 0.000389  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561460;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000835  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561460;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000817  Lock_time: 0.000602  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561460;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002613  Lock_time: 0.002386  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561460;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:00.174028' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000799  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561461;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561461;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006212  Lock_time: 0.005811  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561461;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:01.175116' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001475  Lock_time: 0.000746  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561462;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000664  Lock_time: 0.000263  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561462;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561462;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:02.174062' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001137  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561463;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000518  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561463;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000465  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561463;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:03.174449' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000628  Lock_time: 0.000309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561464;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000827  Lock_time: 0.000638  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561464;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:04.173868' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000546  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561464;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:04.174048' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1358  Schema:   QC_hit: No
# Query_time: 0.000476  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561465;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1359  Schema:   QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000318  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561465;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1359  Schema:   QC_hit: No
# Query_time: 0.000547  Lock_time: 0.000338  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561465;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1358  Schema:   QC_hit: No
# Query_time: 0.000373  Lock_time: 0.000245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561465;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001033  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561465;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000609  Lock_time: 0.000373  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561465;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000649  Lock_time: 0.000438  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561465;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:05.173476' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561466;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561466;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:06.173607' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000806  Lock_time: 0.000558  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561466;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:06.173224' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000973  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561467;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001847  Lock_time: 0.001683  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561467;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001804  Lock_time: 0.001344  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561467;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:07.173736' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561467;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:07.174349' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561468;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:08.173974' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000892  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561468;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561468;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:08.181074' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000923  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561469;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002360  Lock_time: 0.002018  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561469;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000444  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561469;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:09.174934' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001300  Lock_time: 0.000233  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561470;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003479  Lock_time: 0.003204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561470;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001999  Lock_time: 0.001639  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561470;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:10.174244' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001402  Lock_time: 0.001214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561471;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:11.174079' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001305  Lock_time: 0.001161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561471;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:11.17368' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002269  Lock_time: 0.002000  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561471;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001021  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561472;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561472;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561472;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:12.174432' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000464  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561473;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561473;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:13.173611' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561473;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:13.174211' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001059  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561474;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002422  Lock_time: 0.002094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561474;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000903  Lock_time: 0.000583  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561474;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:14.174007' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1363  Schema:   QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000233  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561475;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1363  Schema:   QC_hit: No
# Query_time: 0.000526  Lock_time: 0.000345  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561475;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1362  Schema:   QC_hit: No
# Query_time: 0.000883  Lock_time: 0.000810  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561475;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1362  Schema:   QC_hit: No
# Query_time: 0.000412  Lock_time: 0.000268  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561475;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001091  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561475;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005180  Lock_time: 0.004917  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561475;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:15.174589' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005842  Lock_time: 0.005469  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561475;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:15.174629' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004292  Lock_time: 0.003865  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561476;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:16.174988' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004332  Lock_time: 0.004051  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561476;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:16.173943' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006602  Lock_time: 0.005649  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561476;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000903  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561477;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561477;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:17.174589' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000571  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561477;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:17.17415' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000468  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561478;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561478;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:18.190168' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001206  Lock_time: 0.001050  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561478;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:18.191264' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000882  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561479;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000464  Lock_time: 0.000262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561479;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561479;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:19.173856' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561480;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561480;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:20.174589' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000286  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561480;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:20.17406' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000873  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561481;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001844  Lock_time: 0.001685  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561481;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000609  Lock_time: 0.000449  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561481;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:21.173545' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001878  Lock_time: 0.001610  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561482;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000879  Lock_time: 0.000633  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561482;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:22.173946' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001281  Lock_time: 0.001027  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561482;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:22.175589' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001143  Lock_time: 0.000294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561483;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001713  Lock_time: 0.001386  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561483;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:23.173669' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001554  Lock_time: 0.001230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561483;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:23.174594' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003227  Lock_time: 0.002219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561483;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001126  Lock_time: 0.000255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561484;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001680  Lock_time: 0.001442  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561484;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000493  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561484;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:24.173264' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1366  Schema:   QC_hit: No
# Query_time: 0.002931  Lock_time: 0.002820  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561485;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1367  Schema:   QC_hit: No
# Query_time: 0.003184  Lock_time: 0.003094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561485;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1367  Schema:   QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561485;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1366  Schema:   QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561485;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000566  Lock_time: 0.000309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561485;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561485;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:25.174414' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000658  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561485;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:25.174614' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000989  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561486;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000792  Lock_time: 0.000603  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561486;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000280  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561486;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:26.17383' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000482  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561487;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:27.173775' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561487;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:27.174166' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561487;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001717  Lock_time: 0.000981  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561488;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001422  Lock_time: 0.001168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561488;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001949  Lock_time: 0.001688  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561488;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:28.173804' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001018  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561489;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000524  Lock_time: 0.000269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561489;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005789  Lock_time: 0.005389  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561489;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:29.174149' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1370  Schema:   QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000286  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561490;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1370  Schema:   QC_hit: No
# Query_time: 0.000561  Lock_time: 0.000377  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561490;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561490;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561490;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:30.173842' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561490;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:30.174195' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001484  Lock_time: 0.000573  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561491;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000665  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561491;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000451  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561491;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:31.174193' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000968  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561492;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000412  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561492;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561492;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:32.173293' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561493;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561493;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:33.174428' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561493;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:33.174318' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001020  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561494;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002451  Lock_time: 0.002256  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561494;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001025  Lock_time: 0.000766  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561494;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:34.173244' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1372  Schema:   QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000372  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561495;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1371  Schema:   QC_hit: No
# Query_time: 0.001132  Lock_time: 0.000935  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561495;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1371  Schema:   QC_hit: No
# Query_time: 0.004010  Lock_time: 0.003871  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561495;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1372  Schema:   QC_hit: No
# Query_time: 0.000576  Lock_time: 0.000356  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561495;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000764  Lock_time: 0.000427  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561495;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:35.174237' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002351  Lock_time: 0.001655  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561495;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001033  Lock_time: 0.000316  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561495;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:35.173937' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002413  Lock_time: 0.001517  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561496;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002149  Lock_time: 0.001822  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561496;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000818  Lock_time: 0.000333  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561496;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:36.173653' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001047  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561497;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561497;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000896  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561497;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:37.173311' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561498;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000554  Lock_time: 0.000306  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561498;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:38.177327' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000568  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561498;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:38.176226' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001086  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561499;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561499;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561499;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:39.1737' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561499;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:39.173576' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001024  Lock_time: 0.000277  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561500;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561500;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001253  Lock_time: 0.000866  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561500;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:40.174092' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001812  Lock_time: 0.001631  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561500;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:40.173202' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000493  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561501;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003640  Lock_time: 0.003259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561501;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:41.173574' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003747  Lock_time: 0.003308  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561501;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:41.174517' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000787  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561502;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561502;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006126  Lock_time: 0.005794  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561502;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:42.173595' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001098  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561503;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000514  Lock_time: 0.000288  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561503;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:43.173509' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000997  Lock_time: 0.000795  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561503;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:43.173912' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561504;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001523  Lock_time: 0.000500  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561504;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000586  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561504;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:44.174984' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1377  Schema:   QC_hit: No
# Query_time: 0.001248  Lock_time: 0.001116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561505;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1378  Schema:   QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000288  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561505;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1377  Schema:   QC_hit: No
# Query_time: 0.003144  Lock_time: 0.003008  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561505;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1378  Schema:   QC_hit: No
# Query_time: 0.000627  Lock_time: 0.000457  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561505;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005672  Lock_time: 0.004538  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561505;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561505;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:45.173762' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561505;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:45.173329' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000628  Lock_time: 0.000233  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561506;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561506;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:46.17415' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561506;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:46.174561' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001019  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561507;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000749  Lock_time: 0.000540  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561507;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561507;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:47.175563' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561507;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:47.175859' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001653  Lock_time: 0.000350  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561508;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561508;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:48.173486' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005827  Lock_time: 0.005251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561508;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001065  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561509;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002001  Lock_time: 0.001699  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561509;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561509;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:49.174954' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001006  Lock_time: 0.000261  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561510;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001403  Lock_time: 0.001219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561510;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:50.173856' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561510;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:50.174874' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000929  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561511;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561511;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002047  Lock_time: 0.001847  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561511;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:51.173978' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002106  Lock_time: 0.001867  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561511;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:51.173476' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000957  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561512;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561512;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561512;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:52.173559' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001384  Lock_time: 0.001234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561512;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:52.174488' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001966  Lock_time: 0.000360  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561513;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000862  Lock_time: 0.000307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561513;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:53.174286' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000440  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561513;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001132  Lock_time: 0.000366  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561514;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004787  Lock_time: 0.004526  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561514;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:54.173827' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004988  Lock_time: 0.004803  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561514;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:54.17467' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1382  Schema:   QC_hit: No
# Query_time: 0.000399  Lock_time: 0.000267  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561515;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1382  Schema:   QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000317  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561515;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1381  Schema:   QC_hit: No
# Query_time: 0.000835  Lock_time: 0.000740  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561515;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1381  Schema:   QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561515;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000853  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561515;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561515;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000474  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561515;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:55.174065' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561515;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:55.173715' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001076  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561516;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002084  Lock_time: 0.001814  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561516;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001548  Lock_time: 0.001213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561516;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:56.174289' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561517;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000532  Lock_time: 0.000341  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561517;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:57.173697' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561517;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:57.173287' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001341  Lock_time: 0.000611  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561518;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000493  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561518;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000649  Lock_time: 0.000341  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561518;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:58.173199' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:31:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001083  Lock_time: 0.000286  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561519;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000492  Lock_time: 0.000303  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561519;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:59.173393' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561519;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:31:59.173931' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1385  Schema:   QC_hit: No
# Query_time: 0.000372  Lock_time: 0.000214  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561520;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1385  Schema:   QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000272  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561520;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000903  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561520;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561520;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561520;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:00.173349' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561520;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:00.174096' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561521;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000629  Lock_time: 0.000375  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561521;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:01.17354' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001256  Lock_time: 0.000554  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561521;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:01.174029' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004832  Lock_time: 0.004139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561522;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561522;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561522;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:02.178951' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561523;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000440  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561523;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:03.174518' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000812  Lock_time: 0.000547  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561523;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:03.174032' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001359  Lock_time: 0.000308  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561524;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000399  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561524;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000460  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561524;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:04.175093' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1386  Schema:   QC_hit: No
# Query_time: 0.000491  Lock_time: 0.000247  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561525;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1387  Schema:   QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561525;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1387  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561525;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1386  Schema:   QC_hit: No
# Query_time: 0.000568  Lock_time: 0.000377  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561525;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000970  Lock_time: 0.000601  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561525;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:05.174281' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002805  Lock_time: 0.002379  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561525;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002053  Lock_time: 0.001668  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561525;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:05.174126' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001193  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561526;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001525  Lock_time: 0.001285  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561526;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002941  Lock_time: 0.002694  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561526;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:06.174887' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002147  Lock_time: 0.001867  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561527;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000698  Lock_time: 0.000463  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561527;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:07.175555' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002589  Lock_time: 0.002290  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561527;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:07.175376' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001062  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561528;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.012285  Lock_time: 0.011839  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561528;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.019191  Lock_time: 0.015373  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561528;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:08.173572' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005695  Lock_time: 0.005291  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561528;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:08.176678' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002843  Lock_time: 0.002057  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561529;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006027  Lock_time: 0.005666  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561529;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004665  Lock_time: 0.004291  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561529;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:09.176953' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002846  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561530;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000515  Lock_time: 0.000328  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561530;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000891  Lock_time: 0.000601  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561530;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:10.174239' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000597  Lock_time: 0.000345  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561531;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000705  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561531;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:11.17468' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001468  Lock_time: 0.000631  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561531;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:11.174331' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561532;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561532;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:12.174384' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003260  Lock_time: 0.000906  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561532;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000570  Lock_time: 0.000326  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561532;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:12.175007' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000516  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561533;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561533;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:13.17382' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561533;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:13.174643' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000734  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561534;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561534;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561534;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:14.174036' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1391  Schema:   QC_hit: No
# Query_time: 0.003378  Lock_time: 0.003241  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561535;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1391  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000216  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561535;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1390  Schema:   QC_hit: No
# Query_time: 0.003308  Lock_time: 0.003178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561535;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1390  Schema:   QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000408  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561535;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000525  Lock_time: 0.000265  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561535;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:15.173319' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003511  Lock_time: 0.002763  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561535;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000453  Lock_time: 0.000262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561535;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:15.173111' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003235  Lock_time: 0.003028  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561536;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000713  Lock_time: 0.000506  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561536;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:16.173388' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561536;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:16.173619' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001022  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561537;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000482  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561537;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561537;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:17.192458' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561537;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:17.192939' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000935  Lock_time: 0.000219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561538;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561538;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561538;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:18.174639' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561538;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:18.175319' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000399  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561539;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561539;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:19.173956' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561539;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:19.174479' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000785  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561540;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001475  Lock_time: 0.001128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561540;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561540;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:20.174741' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001133  Lock_time: 0.000761  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561541;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561541;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:21.173907' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561541;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:21.174352' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000731  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561542;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561542;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561542;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:22.173196' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001057  Lock_time: 0.000287  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561543;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000840  Lock_time: 0.000570  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561543;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:23.174138' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000724  Lock_time: 0.000563  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561543;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:23.174737' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000962  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561544;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561544;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001126  Lock_time: 0.000875  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561544;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:24.173341' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001098  Lock_time: 0.000779  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561544;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:24.172939' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1394  Schema:   QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000356  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561545;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1395  Schema:   QC_hit: No
# Query_time: 0.003947  Lock_time: 0.003785  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561545;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1395  Schema:   QC_hit: No
# Query_time: 0.002029  Lock_time: 0.001907  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561545;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1394  Schema:   QC_hit: No
# Query_time: 0.001589  Lock_time: 0.001057  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561545;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000635  Lock_time: 0.000433  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561545;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000976  Lock_time: 0.000462  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561545;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:25.173018' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000556  Lock_time: 0.000293  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561545;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:25.173838' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001521  Lock_time: 0.000700  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561546;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000694  Lock_time: 0.000357  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561546;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000801  Lock_time: 0.000575  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561546;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:26.173522' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561547;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561547;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:27.173998' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561547;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:27.173546' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008495  Lock_time: 0.007627  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561548;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.007393  Lock_time: 0.007069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561548;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005041  Lock_time: 0.004718  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561548;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:28.17434' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.007599  Lock_time: 0.007414  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561548;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:28.173778' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001059  Lock_time: 0.000403  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561549;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001811  Lock_time: 0.001566  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561549;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001253  Lock_time: 0.000994  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561549;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:29.174037' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1398  Schema:   QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000275  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561550;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1398  Schema:   QC_hit: No
# Query_time: 0.001054  Lock_time: 0.000827  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561550;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001820  Lock_time: 0.000772  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561550;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001733  Lock_time: 0.001480  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561550;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001019  Lock_time: 0.000803  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561550;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:30.174735' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000534  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561551;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561551;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:31.174189' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000779  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561551;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:31.17482' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002450  Lock_time: 0.000917  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561552;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561552;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:32.173809' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002043  Lock_time: 0.001571  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561552;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561553;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561553;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:33.174326' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000681  Lock_time: 0.000313  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561553;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:33.173697' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001636  Lock_time: 0.000447  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561554;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000331  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561554;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561554;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:34.173993' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000521  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561554;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:34.174383' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1399  Schema:   QC_hit: No
# Query_time: 0.000666  Lock_time: 0.000250  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561555;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1400  Schema:   QC_hit: No
# Query_time: 0.005611  Lock_time: 0.005385  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561555;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1400  Schema:   QC_hit: No
# Query_time: 0.004431  Lock_time: 0.004244  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561555;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1399  Schema:   QC_hit: No
# Query_time: 0.000627  Lock_time: 0.000456  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561555;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001203  Lock_time: 0.001032  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561555;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561555;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:35.174457' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001368  Lock_time: 0.000560  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561556;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001396  Lock_time: 0.001230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561556;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000680  Lock_time: 0.000522  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561556;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:36.173589' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561556;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:36.174454' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000693  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561557;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561557;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561557;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:37.17758' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003935  Lock_time: 0.003628  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561558;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:38.173352' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003950  Lock_time: 0.003646  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561558;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:38.172708' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000927  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561559;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002646  Lock_time: 0.002339  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561559;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000285  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561559;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:39.174297' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000771  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561560;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561560;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561560;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:40.174226' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561560;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:40.174791' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000983  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561561;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561561;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:41.174375' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000630  Lock_time: 0.000289  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561561;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:41.173818' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000953  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561562;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561562;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001431  Lock_time: 0.001177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561562;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:42.173941' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001535  Lock_time: 0.001288  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561562;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:42.173665' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561563;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561563;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:43.174136' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000395  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561563;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:43.174303' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000975  Lock_time: 0.000245  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561564;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561564;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561564;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:44.175206' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1403  Schema:   QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561565;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1404  Schema:   QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561565;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1403  Schema:   QC_hit: No
# Query_time: 0.000880  Lock_time: 0.000569  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561565;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1404  Schema:   QC_hit: No
# Query_time: 0.000710  Lock_time: 0.000284  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561565;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001106  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561565;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003764  Lock_time: 0.003563  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561565;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000898  Lock_time: 0.000591  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561565;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:45.173081' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000440  Lock_time: 0.000240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561565;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:45.173845' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001712  Lock_time: 0.000918  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561566;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561566;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:46.174361' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561566;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:46.17368' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000900  Lock_time: 0.000370  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561567;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001461  Lock_time: 0.000820  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561567;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561567;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:47.175779' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004394  Lock_time: 0.004206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561568;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:48.174041' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004383  Lock_time: 0.004086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561568;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:48.173649' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000938  Lock_time: 0.000259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561569;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561569;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:49.173556' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003349  Lock_time: 0.003062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561569;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000935  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561570;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000864  Lock_time: 0.000578  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561570;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:50.173834' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001960  Lock_time: 0.001688  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561570;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001019  Lock_time: 0.000329  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561571;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000233  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561571;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003786  Lock_time: 0.003451  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561571;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:51.173925' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003849  Lock_time: 0.003489  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561571;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:51.173519' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000804  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561572;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001465  Lock_time: 0.001246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561572;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000867  Lock_time: 0.000636  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561572;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:52.17536' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002905  Lock_time: 0.002087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561573;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000526  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561573;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:53.173556' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561573;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:53.174241' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000898  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561574;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561574;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561574;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:54.174787' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1408  Schema:   QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561575;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1407  Schema:   QC_hit: No
# Query_time: 0.000544  Lock_time: 0.000392  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561575;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1408  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561575;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1407  Schema:   QC_hit: No
# Query_time: 0.003177  Lock_time: 0.003044  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561575;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561575;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561575;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:55.174071' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561575;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:55.173745' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002933  Lock_time: 0.002195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561576;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001006  Lock_time: 0.000826  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561576;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000838  Lock_time: 0.000630  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561576;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:56.174679' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001020  Lock_time: 0.000246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561577;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561577;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:57.17347' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561577;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:57.174697' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004960  Lock_time: 0.003653  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561578;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000510  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561578;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000548  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561578;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:58.174031' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:32:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001214  Lock_time: 0.000457  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561579;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000534  Lock_time: 0.000286  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561579;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:32:59.173946' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561579;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1411  Schema:   QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561580;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1411  Schema:   QC_hit: No
# Query_time: 0.000483  Lock_time: 0.000255  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561580;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001682  Lock_time: 0.001451  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561580;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001386  Lock_time: 0.001249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561580;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:00.1738' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004201  Lock_time: 0.003835  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561581;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:01.174072' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006181  Lock_time: 0.005991  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561581;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001191  Lock_time: 0.000331  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561582;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561582;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000797  Lock_time: 0.000243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561582;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:02.173226' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561583;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000516  Lock_time: 0.000311  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561583;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:03.173489' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000402  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561583;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:03.173098' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001065  Lock_time: 0.000337  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561584;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000788  Lock_time: 0.000598  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561584;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000691  Lock_time: 0.000442  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561584;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:04.172901' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561584;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:04.173238' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1413  Schema:   QC_hit: No
# Query_time: 0.001617  Lock_time: 0.001480  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561585;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1412  Schema:   QC_hit: No
# Query_time: 0.009427  Lock_time: 0.009232  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561585;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1413  Schema:   QC_hit: No
# Query_time: 0.000517  Lock_time: 0.000307  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561585;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1412  Schema:   QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000306  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561585;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000943  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561585;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001391  Lock_time: 0.001197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561585;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561585;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:05.1741' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000306  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561586;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561586;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:06.173557' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001342  Lock_time: 0.001138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561586;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:06.173834' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002807  Lock_time: 0.001607  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561587;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004154  Lock_time: 0.003899  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561587;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002250  Lock_time: 0.002017  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561587;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:07.174239' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001720  Lock_time: 0.001432  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561587;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:07.173587' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000868  Lock_time: 0.000464  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561588;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:08.173867' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001354  Lock_time: 0.001138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561588;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:08.173763' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001755  Lock_time: 0.001147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561588;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 220410  3:33:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001135  Lock_time: 0.000297  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561589;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003419  Lock_time: 0.003021  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561589;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001497  Lock_time: 0.001098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561589;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:09.173789' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000797  Lock_time: 0.000396  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561590;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001900  Lock_time: 0.001601  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561590;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:10.174071' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000611  Lock_time: 0.000380  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561590;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:10.174598' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001701  Lock_time: 0.000564  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561591;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561591;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001005  Lock_time: 0.000686  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561591;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:11.174696' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001160  Lock_time: 0.000291  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561592;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000557  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561592;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000697  Lock_time: 0.000487  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561592;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:12.174595' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000566  Lock_time: 0.000283  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561593;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561593;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:13.174724' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561593;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:13.173773' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001130  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561594;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001044  Lock_time: 0.000723  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561594;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000894  Lock_time: 0.000667  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561594;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:14.173956' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561594;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:14.17434' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1416  Schema:   QC_hit: No
# Query_time: 0.000666  Lock_time: 0.000562  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561595;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1417  Schema:   QC_hit: No
# Query_time: 0.000793  Lock_time: 0.000689  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561595;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1416  Schema:   QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000344  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561595;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1417  Schema:   QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000292  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561595;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001113  Lock_time: 0.000273  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561595;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003228  Lock_time: 0.002990  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561595;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000845  Lock_time: 0.000585  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561595;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:15.174054' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001622  Lock_time: 0.001340  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561595;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:15.174083' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000715  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561596;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561596;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:16.174571' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005190  Lock_time: 0.004598  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561596;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:16.175519' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001108  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561597;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001316  Lock_time: 0.000970  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561597;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000476  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561597;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:17.173714' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561597;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:17.173419' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561598;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000537  Lock_time: 0.000321  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561598;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:18.173365' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000443  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561598;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:18.174069' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001051  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561599;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001028  Lock_time: 0.000786  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561599;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561599;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:19.17369' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561600;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561600;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:20.173987' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000692  Lock_time: 0.000503  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561600;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:20.17691' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001145  Lock_time: 0.000305  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561601;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561601;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:21.173883' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000494  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561601;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:21.173807' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000929  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561602;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002908  Lock_time: 0.002700  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561602;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561602;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:22.173647' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002628  Lock_time: 0.002380  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561603;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003203  Lock_time: 0.002790  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561603;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:23.174079' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002946  Lock_time: 0.002650  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561603;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:23.173579' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001880  Lock_time: 0.000376  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561604;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002101  Lock_time: 0.001890  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561604;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000480  Lock_time: 0.000273  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561604;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:24.17374' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1420  Schema:   QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561605;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1420  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561605;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1421  Schema:   QC_hit: No
# Query_time: 0.001839  Lock_time: 0.001712  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561605;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1421  Schema:   QC_hit: No
# Query_time: 0.006237  Lock_time: 0.006069  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561605;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000566  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561605;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000440  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561605;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:25.17326' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000707  Lock_time: 0.000395  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561606;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000451  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561606;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:26.173998' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561606;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:26.174386' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001077  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561607;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000493  Lock_time: 0.000321  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561607;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:27.173172' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561607;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:27.174686' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001012  Lock_time: 0.000289  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561608;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000479  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561608;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:28.173853' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002638  Lock_time: 0.002395  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561608;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:28.177386' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001114  Lock_time: 0.000394  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561609;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561609;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000967  Lock_time: 0.000776  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561609;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:29.174624' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1424  Schema:   QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000229  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561610;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1424  Schema:   QC_hit: No
# Query_time: 0.001117  Lock_time: 0.000908  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561610;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004057  Lock_time: 0.003361  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561610;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561610;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561610;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:30.173866' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001582  Lock_time: 0.000396  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561611;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000531  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561611;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000617  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561611;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:31.173382' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000935  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561612;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561612;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:32.173825' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561612;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:32.173687' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000853  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561613;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000297  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561613;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000320  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561613;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:33.174225' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001064  Lock_time: 0.000271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561614;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561614;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:34.175757' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561614;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:34.174414' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1426  Schema:   QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000229  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561615;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1426  Schema:   QC_hit: No
# Query_time: 0.000492  Lock_time: 0.000299  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561615;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1425  Schema:   QC_hit: No
# Query_time: 0.000472  Lock_time: 0.000297  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561615;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1425  Schema:   QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561615;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001014  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561615;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004980  Lock_time: 0.004663  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561615;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561615;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:35.174414' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561615;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:35.173631' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000534  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561616;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561616;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:36.174986' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561616;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:36.175001' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000824  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561617;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561617;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001377  Lock_time: 0.001180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561617;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:37.175328' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002818  Lock_time: 0.002372  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561617;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:37.174607' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000855  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561618;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003408  Lock_time: 0.003075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561618;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002420  Lock_time: 0.002152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561618;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:38.173437' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000317  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561618;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:38.173214' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000917  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561619;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561619;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561619;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:39.174866' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561619;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:39.174189' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561620;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001736  Lock_time: 0.001196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561620;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000555  Lock_time: 0.000291  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561620;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:40.173704' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003139  Lock_time: 0.002224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561621;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003108  Lock_time: 0.002736  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561621;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:41.173474' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004466  Lock_time: 0.003560  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561621;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000287  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561622;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000453  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561622;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:42.173983' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004312  Lock_time: 0.003976  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561622;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:42.173446' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001073  Lock_time: 0.000287  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561623;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002604  Lock_time: 0.002232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561623;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001403  Lock_time: 0.001049  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561623;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:43.173722' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001665  Lock_time: 0.001137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561623;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:43.173471' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003153  Lock_time: 0.002842  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561624;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002237  Lock_time: 0.001989  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561624;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:44.173791' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002336  Lock_time: 0.002093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561624;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:44.174312' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1429  Schema:   QC_hit: No
# Query_time: 0.001714  Lock_time: 0.001564  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561625;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1430  Schema:   QC_hit: No
# Query_time: 0.001492  Lock_time: 0.001428  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561625;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1430  Schema:   QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000277  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561625;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1429  Schema:   QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000263  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561625;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000949  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561625;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001132  Lock_time: 0.000910  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561625;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000686  Lock_time: 0.000480  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561625;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:45.173705' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000542  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561626;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000780  Lock_time: 0.000582  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561626;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:46.173568' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001013  Lock_time: 0.000645  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561626;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:46.174092' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001032  Lock_time: 0.000245  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561627;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561627;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:47.173529' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561627;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000517  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561628;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561628;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:48.173796' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000244  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561628;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:48.174161' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001000  Lock_time: 0.000348  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561629;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000670  Lock_time: 0.000404  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561629;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000563  Lock_time: 0.000303  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561629;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:49.173328' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000852  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561630;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000953  Lock_time: 0.000669  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561630;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002225  Lock_time: 0.001925  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561630;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:50.173405' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001187  Lock_time: 0.000350  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561631;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002911  Lock_time: 0.002570  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561631;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:51.17396' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000590  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561631;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:51.174357' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000675  Lock_time: 0.000335  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561632;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002473  Lock_time: 0.002252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561632;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:52.174338' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002828  Lock_time: 0.002481  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561632;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:52.17378' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001043  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561633;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000458  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561633;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561633;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:53.171601' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561633;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:53.172137' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001277  Lock_time: 0.000497  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561634;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001207  Lock_time: 0.000981  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561634;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561634;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:54.174116' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561634;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:54.1737' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1434  Schema:   QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000249  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561635;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1433  Schema:   QC_hit: No
# Query_time: 0.000884  Lock_time: 0.000689  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561635;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1433  Schema:   QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561635;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1434  Schema:   QC_hit: No
# Query_time: 0.000643  Lock_time: 0.000396  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561635;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000760  Lock_time: 0.000436  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561635;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561635;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:55.173771' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000609  Lock_time: 0.000428  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561635;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:55.173476' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002294  Lock_time: 0.000954  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561636;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000524  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561636;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000480  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561636;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:56.173251' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001123  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561637;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000522  Lock_time: 0.000246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561637;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:57.173639' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000903  Lock_time: 0.000499  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561637;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561637;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:57.1736' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000984  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561638;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003830  Lock_time: 0.003547  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561638;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000484  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561638;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:58.174651' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:33:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001133  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561639;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000336  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561639;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:59.173146' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002074  Lock_time: 0.001914  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561639;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001589  Lock_time: 0.001421  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561639;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:33:59.174057' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1437  Schema:   QC_hit: No
# Query_time: 0.000509  Lock_time: 0.000341  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561640;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1437  Schema:   QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000229  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561640;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001965  Lock_time: 0.001670  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561640;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000546  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561640;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:00.173814' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001805  Lock_time: 0.001688  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561641;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001654  Lock_time: 0.001407  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561641;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:01.1748' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002728  Lock_time: 0.002452  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561641;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:01.173508' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000919  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561642;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561642;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002291  Lock_time: 0.001977  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561642;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:02.173548' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001165  Lock_time: 0.000337  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561643;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002314  Lock_time: 0.001977  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561643;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:03.175872' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001381  Lock_time: 0.000975  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561643;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:03.175201' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001435  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561644;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000667  Lock_time: 0.000322  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561644;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561644;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:04.17376' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1438  Schema:   QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000247  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561645;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1439  Schema:   QC_hit: No
# Query_time: 0.000764  Lock_time: 0.000405  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561645;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1438  Schema:   QC_hit: No
# Query_time: 0.001688  Lock_time: 0.001450  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561645;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1439  Schema:   QC_hit: No
# Query_time: 0.002834  Lock_time: 0.002685  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561645;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000621  Lock_time: 0.000263  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561645;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561645;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:05.173647' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561645;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:05.174007' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000883  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561646;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561646;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:06.173789' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000724  Lock_time: 0.000300  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561646;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561647;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000968  Lock_time: 0.000675  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561647;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:07.175223' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561647;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:07.176106' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000722  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561648;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001265  Lock_time: 0.001037  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561648;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:08.173827' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004969  Lock_time: 0.004586  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561648;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:08.175711' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002092  Lock_time: 0.001234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561649;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561649;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561649;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:09.174386' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001347  Lock_time: 0.001107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561649;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:09.17416' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001058  Lock_time: 0.000385  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561650;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000511  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561650;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000534  Lock_time: 0.000229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561650;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:10.174611' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000547  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561650;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:10.17514' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000506  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561651;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002385  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561651;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561651;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:11.173562' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004121  Lock_time: 0.003587  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561652;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002197  Lock_time: 0.000881  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561652;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:12.17383' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001521  Lock_time: 0.001206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561652;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:12.174089' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001204  Lock_time: 0.000315  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561653;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001295  Lock_time: 0.000929  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561653;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:13.173484' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002454  Lock_time: 0.001998  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561653;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:13.173536' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000480  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561654;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561654;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:14.172921' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000519  Lock_time: 0.000222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561654;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:14.173348' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1442  Schema:   QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000266  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561655;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1443  Schema:   QC_hit: No
# Query_time: 0.000609  Lock_time: 0.000440  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561655;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1442  Schema:   QC_hit: No
# Query_time: 0.000436  Lock_time: 0.000373  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561655;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1443  Schema:   QC_hit: No
# Query_time: 0.000372  Lock_time: 0.000279  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561655;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001212  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561655;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000940  Lock_time: 0.000288  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561655;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000745  Lock_time: 0.000358  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561655;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:15.173841' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000331  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561655;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:15.174925' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001046  Lock_time: 0.000290  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561656;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000604  Lock_time: 0.000368  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561656;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561656;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:16.173776' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000532  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561657;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561657;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:17.17441' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000781  Lock_time: 0.000240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561657;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:17.174703' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003432  Lock_time: 0.002566  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561658;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561658;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561658;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:18.174457' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000882  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561659;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561659;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001776  Lock_time: 0.001588  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561659;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:19.173912' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001667  Lock_time: 0.001454  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561659;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:19.173525' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000931  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561660;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561660;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:20.173444' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561660;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:20.176196' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000899  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561661;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000615  Lock_time: 0.000463  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561661;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002466  Lock_time: 0.002162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561661;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:21.173936' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000963  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561662;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001456  Lock_time: 0.001054  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561662;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:22.174573' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001810  Lock_time: 0.001576  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561662;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:22.173975' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000490  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561663;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001720  Lock_time: 0.001369  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561663;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:23.174616' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001710  Lock_time: 0.001289  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561663;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:23.174037' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000991  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561664;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561664;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561664;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:24.174606' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1447  Schema:   QC_hit: No
# Query_time: 0.001852  Lock_time: 0.001739  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561665;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1446  Schema:   QC_hit: No
# Query_time: 0.002124  Lock_time: 0.001945  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561665;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1446  Schema:   QC_hit: No
# Query_time: 0.000602  Lock_time: 0.000398  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561665;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1447  Schema:   QC_hit: No
# Query_time: 0.000495  Lock_time: 0.000347  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561665;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561665;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561665;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:25.173876' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000653  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561665;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:25.173703' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001173  Lock_time: 0.000295  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561666;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000514  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561666;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000544  Lock_time: 0.000281  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561666;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:26.17466' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000566  Lock_time: 0.000259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561667;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561667;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:27.175136' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000256  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561667;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:27.173435' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001406  Lock_time: 0.000734  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561668;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002116  Lock_time: 0.001898  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561668;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000942  Lock_time: 0.000684  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561668;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:28.17341' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000563  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561669;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002267  Lock_time: 0.002038  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561669;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:29.173365' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003806  Lock_time: 0.003431  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561669;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:29.173366' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1450  Schema:   QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561670;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1450  Schema:   QC_hit: No
# Query_time: 0.000563  Lock_time: 0.000328  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561670;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000875  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561670;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001721  Lock_time: 0.001493  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561670;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:30.174559' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001993  Lock_time: 0.001735  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561670;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:30.173748' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.011102  Lock_time: 0.010810  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561671;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:31.173921' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.011282  Lock_time: 0.011088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561671;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:31.17351' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.013542  Lock_time: 0.013212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561671;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000979  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561672;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561672;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561672;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:32.174002' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561673;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561673;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:33.173956' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000806  Lock_time: 0.000662  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561673;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:33.174385' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001137  Lock_time: 0.000346  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561674;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003674  Lock_time: 0.003289  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561674;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:34.173853' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006240  Lock_time: 0.006083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561674;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1451  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561675;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1452  Schema:   QC_hit: No
# Query_time: 0.000483  Lock_time: 0.000296  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561675;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1451  Schema:   QC_hit: No
# Query_time: 0.000851  Lock_time: 0.000578  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561675;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1452  Schema:   QC_hit: No
# Query_time: 0.000525  Lock_time: 0.000364  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561675;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002749  Lock_time: 0.002489  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561675;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000986  Lock_time: 0.000658  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561675;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:35.174025' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001060  Lock_time: 0.000791  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561675;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:35.174384' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001096  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561676;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001871  Lock_time: 0.001592  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561676;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:36.173183' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002542  Lock_time: 0.002231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561676;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000503  Lock_time: 0.000297  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561676;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:36.173533' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561677;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002423  Lock_time: 0.001979  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561677;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:37.173274' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002476  Lock_time: 0.001967  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561677;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:37.173431' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001268  Lock_time: 0.000379  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561678;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000958  Lock_time: 0.000722  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561678;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002801  Lock_time: 0.002462  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561678;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:38.176473' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002875  Lock_time: 0.002548  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561678;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:38.177103' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000831  Lock_time: 0.000254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561679;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561679;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561679;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:39.173873' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000404  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561679;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:39.173601' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001258  Lock_time: 0.000405  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561680;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001679  Lock_time: 0.001409  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561680;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:40.17415' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002256  Lock_time: 0.001951  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561680;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000906  Lock_time: 0.000546  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561680;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:40.175199' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002573  Lock_time: 0.001911  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561681;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561681;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561681;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:41.174576' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000647  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561682;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561682;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:42.174123' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561682;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:42.173245' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000925  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561683;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000264  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561683;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561683;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:43.173865' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000526  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561684;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000670  Lock_time: 0.000522  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561684;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:44.174465' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000778  Lock_time: 0.000321  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561684;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:44.174577' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1456  Schema:   QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000255  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561685;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1455  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561685;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1456  Schema:   QC_hit: No
# Query_time: 0.000539  Lock_time: 0.000447  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561685;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1455  Schema:   QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561685;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001027  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561685;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005585  Lock_time: 0.005298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561685;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:45.17311' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005732  Lock_time: 0.005388  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561685;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:45.173507' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001955  Lock_time: 0.001647  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561686;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000808  Lock_time: 0.000496  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561686;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:46.173679' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002383  Lock_time: 0.002050  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561686;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:46.173499' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001106  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561687;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000907  Lock_time: 0.000679  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561687;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001760  Lock_time: 0.001593  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561687;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:47.17451' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000877  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561688;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000961  Lock_time: 0.000608  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561688;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:48.173575' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002709  Lock_time: 0.002473  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561688;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:48.173891' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001233  Lock_time: 0.000390  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561689;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000592  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561689;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001792  Lock_time: 0.001620  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561689;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:49.17435' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001290  Lock_time: 0.000902  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561689;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:49.173622' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001046  Lock_time: 0.000256  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561690;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000510  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561690;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000355  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561690;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:50.173907' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000482  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561691;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561691;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:51.173491' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561691;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:51.17379' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000550  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561692;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000546  Lock_time: 0.000331  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561692;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:52.175556' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561692;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:52.17594' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001072  Lock_time: 0.000254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561693;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000878  Lock_time: 0.000650  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561693;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000683  Lock_time: 0.000409  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561693;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:53.174961' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002102  Lock_time: 0.001685  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561694;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000320  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561694;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:54.173914' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1459  Schema:   QC_hit: No
# Query_time: 0.000798  Lock_time: 0.000511  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561695;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1459  Schema:   QC_hit: No
# Query_time: 0.003971  Lock_time: 0.003857  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561695;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1460  Schema:   QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000399  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561695;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1460  Schema:   QC_hit: No
# Query_time: 0.001070  Lock_time: 0.000448  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561695;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001025  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561695;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001466  Lock_time: 0.001249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561695;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561695;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:55.173653' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000444  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561695;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:55.174' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001318  Lock_time: 0.000370  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561696;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000281  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561696;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:56.174284' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000331  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561696;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:56.176559' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001224  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561697;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000749  Lock_time: 0.000560  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561697;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000532  Lock_time: 0.000272  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561697;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:57.174486' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000515  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561698;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001827  Lock_time: 0.001542  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561698;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:58.174286' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002207  Lock_time: 0.001825  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561698;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:58.173811' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:34:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001188  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561699;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561699;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000539  Lock_time: 0.000329  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561699;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:34:59.173824' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1463  Schema:   QC_hit: No
# Query_time: 0.000573  Lock_time: 0.000433  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561700;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1463  Schema:   QC_hit: No
# Query_time: 0.000571  Lock_time: 0.000378  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561700;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001678  Lock_time: 0.000350  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561700;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561700;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:00.174349' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561700;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:00.17381' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000987  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561701;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001227  Lock_time: 0.001052  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561701;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561701;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:01.174636' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000607  Lock_time: 0.000314  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561702;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561702;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:02.173266' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000503  Lock_time: 0.000244  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561702;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:02.173962' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001061  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561703;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561703;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:03.174261' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561703;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:03.173961' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002714  Lock_time: 0.001950  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561704;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561704;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:04.175382' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000297  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561704;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:04.174768' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1465  Schema:   QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561705;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1464  Schema:   QC_hit: No
# Query_time: 0.000636  Lock_time: 0.000525  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561705;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1464  Schema:   QC_hit: No
# Query_time: 0.000537  Lock_time: 0.000293  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561705;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1465  Schema:   QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000332  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561705;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001642  Lock_time: 0.000243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561705;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000833  Lock_time: 0.000607  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561705;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000851  Lock_time: 0.000500  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561705;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:05.173675' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000859  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561705;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:05.175614' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002467  Lock_time: 0.002241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561706;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003663  Lock_time: 0.002960  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561706;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000584  Lock_time: 0.000315  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561706;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:06.177967' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000610  Lock_time: 0.000286  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561706;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:06.177176' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001680  Lock_time: 0.001359  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561707;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:07.173819' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003092  Lock_time: 0.002239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561707;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561707;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000555  Lock_time: 0.000285  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561707;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:07.174226' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000626  Lock_time: 0.000320  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561708;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002107  Lock_time: 0.001465  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561708;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000729  Lock_time: 0.000363  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561708;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:08.175148' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001250  Lock_time: 0.000354  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561709;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000590  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561709;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:09.174273' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001160  Lock_time: 0.000581  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561709;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:09.173612' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001055  Lock_time: 0.000255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561710;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000617  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561710;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000647  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561710;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:10.1755' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003466  Lock_time: 0.002101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561711;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000695  Lock_time: 0.000319  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561711;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561711;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:11.174354' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561712;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561712;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:12.173646' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000909  Lock_time: 0.000586  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561713;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000623  Lock_time: 0.000386  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561713;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:13.176051' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001096  Lock_time: 0.000578  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561713;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:13.174796' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001060  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561714;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001876  Lock_time: 0.001556  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561714;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561714;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:14.173461' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1469  Schema:   QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561715;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1468  Schema:   QC_hit: No
# Query_time: 0.000527  Lock_time: 0.000334  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561715;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1468  Schema:   QC_hit: No
# Query_time: 0.000156  Lock_time: 0.000107  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561715;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1469  Schema:   QC_hit: No
# Query_time: 0.000944  Lock_time: 0.000338  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561715;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005927  Lock_time: 0.005591  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561715;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003471  Lock_time: 0.003127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561715;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:15.173662' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002987  Lock_time: 0.002647  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561715;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:15.17339' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002144  Lock_time: 0.001852  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561716;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561716;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:16.17413' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000870  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561716;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:16.174412' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001140  Lock_time: 0.000309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561717;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561717;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561717;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:17.23573' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000527  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561717;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:17.236437' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001191  Lock_time: 0.000481  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561718;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001699  Lock_time: 0.001425  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561718;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561718;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:18.173747' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561718;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:18.173433' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000534  Lock_time: 0.000294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561719;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561719;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:19.173551' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561719;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:19.173397' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001127  Lock_time: 0.000367  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561720;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000648  Lock_time: 0.000330  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561720;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000573  Lock_time: 0.000341  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561720;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:20.17467' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001246  Lock_time: 0.000386  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561721;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001164  Lock_time: 0.000826  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561721;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:21.173872' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004569  Lock_time: 0.004076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561721;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002539  Lock_time: 0.002164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561722;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001456  Lock_time: 0.001141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561722;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:22.174119' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001538  Lock_time: 0.001223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561722;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:22.17474' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001111  Lock_time: 0.000285  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561723;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561723;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000452  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561723;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:23.173285' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005208  Lock_time: 0.004861  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561723;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:23.173507' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000926  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561724;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001244  Lock_time: 0.000778  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561724;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:24.174642' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001463  Lock_time: 0.000986  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561724;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:24.173895' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1472  Schema:   QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000271  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561725;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1472  Schema:   QC_hit: No
# Query_time: 0.000486  Lock_time: 0.000335  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561725;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1473  Schema:   QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000335  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561725;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1473  Schema:   QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000216  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561725;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000412  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561725;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000455  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561725;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:25.173617' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002080  Lock_time: 0.001794  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561725;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:25.173828' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001304  Lock_time: 0.000466  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561726;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000300  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561726;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002873  Lock_time: 0.002626  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561726;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:26.174168' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001950  Lock_time: 0.001699  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561726;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:26.174663' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001314  Lock_time: 0.000413  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561727;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000438  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561727;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561727;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:27.174335' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000776  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561728;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000891  Lock_time: 0.000694  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561728;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000575  Lock_time: 0.000425  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561728;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:28.174601' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000589  Lock_time: 0.000446  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561728;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:28.175505' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000496  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561729;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561729;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:29.174063' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000544  Lock_time: 0.000303  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561729;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:29.173674' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1476  Schema:   QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561730;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1476  Schema:   QC_hit: No
# Query_time: 0.000712  Lock_time: 0.000534  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561730;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001116  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561730;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000959  Lock_time: 0.000471  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561730;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561730;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:30.173855' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001060  Lock_time: 0.000244  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561731;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561731;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:31.174962' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561731;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:31.174588' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000951  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561732;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000799  Lock_time: 0.000458  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561732;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:32.17353' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002200  Lock_time: 0.001935  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561732;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000484  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561733;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001749  Lock_time: 0.001556  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561733;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:33.174873' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001848  Lock_time: 0.001574  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561733;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:33.174149' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000871  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561734;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001914  Lock_time: 0.001615  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561734;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561734;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:34.17398' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561734;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:34.173267' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1477  Schema:   QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561735;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1478  Schema:   QC_hit: No
# Query_time: 0.002379  Lock_time: 0.002186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561735;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1477  Schema:   QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000225  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561735;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1478  Schema:   QC_hit: No
# Query_time: 0.000602  Lock_time: 0.000372  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561735;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000982  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561735;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000961  Lock_time: 0.000732  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561735;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000490  Lock_time: 0.000265  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561735;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:35.173553' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000548  Lock_time: 0.000322  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561735;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:35.174431' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001144  Lock_time: 0.000829  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561736;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000390  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561736;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:36.175177' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561736;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:36.174612' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001827  Lock_time: 0.001026  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561737;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003557  Lock_time: 0.003243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561737;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002518  Lock_time: 0.002067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561737;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:37.173846' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001185  Lock_time: 0.001033  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561738;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002726  Lock_time: 0.002406  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561738;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:38.174231' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002969  Lock_time: 0.002650  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561738;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:38.173732' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001147  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561739;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000444  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561739;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561739;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:39.174568' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561739;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:39.175053' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002153  Lock_time: 0.001925  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561740;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002840  Lock_time: 0.001987  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561740;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001486  Lock_time: 0.001194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561740;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:40.174404' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000649  Lock_time: 0.000314  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561741;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000480  Lock_time: 0.000263  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561741;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:41.174232' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000490  Lock_time: 0.000282  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561741;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:41.174379' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000856  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561742;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001829  Lock_time: 0.001538  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561742;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000342  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561742;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:42.175379' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000939  Lock_time: 0.000543  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561742;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:42.175666' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000959  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561743;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001746  Lock_time: 0.001501  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561743;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561743;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:43.173807' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000909  Lock_time: 0.000715  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561744;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:44.174845' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001879  Lock_time: 0.001631  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561744;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001333  Lock_time: 0.000746  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561744;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:44.174783' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1482  Schema:   QC_hit: No
# Query_time: 0.000815  Lock_time: 0.000685  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561745;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1481  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561745;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1481  Schema:   QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000235  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561745;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1482  Schema:   QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000266  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561745;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000894  Lock_time: 0.000229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561745;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561745;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.007755  Lock_time: 0.007250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561745;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:45.174066' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001159  Lock_time: 0.001033  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561746;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001961  Lock_time: 0.001689  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561746;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:46.174067' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000748  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561747;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001153  Lock_time: 0.000960  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561747;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:47.173866' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561747;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:47.17445' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561748;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561748;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:48.173797' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000806  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561748;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:48.17379' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001031  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561749;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561749;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561749;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:49.173117' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000453  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561750;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561750;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:50.174064' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000464  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561750;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:50.174522' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001027  Lock_time: 0.000233  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561751;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561751;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000302  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561751;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:51.174716' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561751;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:51.174666' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001189  Lock_time: 0.000437  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561752;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001377  Lock_time: 0.001063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561752;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000531  Lock_time: 0.000229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561752;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:52.173881' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002081  Lock_time: 0.001770  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561753;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001026  Lock_time: 0.000694  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561753;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:53.173201' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000402  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561753;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:53.174124' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000905  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561754;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561754;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000678  Lock_time: 0.000373  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561754;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:54.174902' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1486  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561755;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1485  Schema:   QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561755;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1485  Schema:   QC_hit: No
# Query_time: 0.000688  Lock_time: 0.000541  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561755;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1486  Schema:   QC_hit: No
# Query_time: 0.000538  Lock_time: 0.000291  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561755;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000593  Lock_time: 0.000274  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561755;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001717  Lock_time: 0.001530  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561755;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:55.174066' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001837  Lock_time: 0.001661  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561755;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:55.173591' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001102  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561756;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003109  Lock_time: 0.002787  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561756;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000639  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561756;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:56.175177' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561756;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:56.174506' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000870  Lock_time: 0.000266  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561757;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000579  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561757;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000889  Lock_time: 0.000553  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561757;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:57.174792' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001950  Lock_time: 0.001515  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561757;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:57.173696' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000605  Lock_time: 0.000287  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561758;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000482  Lock_time: 0.000263  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561758;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:58.175778' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561758;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:58.173492' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:35:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000973  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561759;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561759;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561759;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:59.17393' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561759;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:35:59.173889' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1489  Schema:   QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561760;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1489  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561760;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002704  Lock_time: 0.002340  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561760;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003057  Lock_time: 0.002343  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561760;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000527  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561760;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:00.174738' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001077  Lock_time: 0.000302  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561761;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000718  Lock_time: 0.000274  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561761;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:01.173614' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000564  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561761;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:01.173265' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001914  Lock_time: 0.000391  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561762;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002386  Lock_time: 0.002196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561762;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000843  Lock_time: 0.000633  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561762;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:02.173157' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561762;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:02.173259' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561763;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561763;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:03.173997' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000711  Lock_time: 0.000274  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561763;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:03.174016' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003209  Lock_time: 0.002751  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561764;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004802  Lock_time: 0.004093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561764;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000559  Lock_time: 0.000327  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561764;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:04.174286' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1490  Schema:   QC_hit: No
# Query_time: 0.000633  Lock_time: 0.000414  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561765;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1491  Schema:   QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000280  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561765;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1491  Schema:   QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561765;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1490  Schema:   QC_hit: No
# Query_time: 0.000476  Lock_time: 0.000324  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561765;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000804  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561765;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001280  Lock_time: 0.000924  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561765;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:05.174265' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002531  Lock_time: 0.002171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561765;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001302  Lock_time: 0.000884  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561765;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:05.174052' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000913  Lock_time: 0.000277  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561766;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000507  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561766;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001927  Lock_time: 0.001704  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561766;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:06.17332' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002463  Lock_time: 0.002208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561767;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002182  Lock_time: 0.001687  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561767;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:07.174284' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002801  Lock_time: 0.001699  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561767;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:07.17386' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001292  Lock_time: 0.001051  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561768;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:08.174914' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001711  Lock_time: 0.001509  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561768;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:08.174808' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002479  Lock_time: 0.002213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561768;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002337  Lock_time: 0.001725  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561768;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 220410  3:36:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000632  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561769;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001296  Lock_time: 0.000951  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561769;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:09.175367' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003498  Lock_time: 0.003288  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561769;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:09.173683' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000940  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561770;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561770;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561770;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:10.173564' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002029  Lock_time: 0.001767  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561771;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561771;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:11.173251' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000811  Lock_time: 0.000513  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561771;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:11.174231' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001234  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561772;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000583  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561772;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000634  Lock_time: 0.000333  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561772;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:12.174436' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000316  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561772;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:12.174703' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001126  Lock_time: 0.000357  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561773;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005593  Lock_time: 0.005204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561773;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004291  Lock_time: 0.003776  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561773;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:13.17378' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000655  Lock_time: 0.000324  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561774;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561774;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:14.173907' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1495  Schema:   QC_hit: No
# Query_time: 0.003093  Lock_time: 0.002916  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561775;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1495  Schema:   QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000198  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561775;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1494  Schema:   QC_hit: No
# Query_time: 0.000731  Lock_time: 0.000520  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561775;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1494  Schema:   QC_hit: No
# Query_time: 0.001297  Lock_time: 0.001117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561775;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000961  Lock_time: 0.000737  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561775;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561775;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:15.173938' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000556  Lock_time: 0.000375  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561775;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:15.174443' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001706  Lock_time: 0.001409  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561776;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561776;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:16.17479' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001036  Lock_time: 0.000261  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561777;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001916  Lock_time: 0.001598  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561777;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:17.173172' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001412  Lock_time: 0.001224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561777;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:17.174427' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001007  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561778;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000623  Lock_time: 0.000391  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561778;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561778;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:18.172869' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561779;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000634  Lock_time: 0.000347  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561779;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:19.174895' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001080  Lock_time: 0.000374  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561780;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000757  Lock_time: 0.000483  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561780;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:20.173217' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003407  Lock_time: 0.003164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561780;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:20.173913' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001122  Lock_time: 0.000298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561781;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000570  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561781;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561781;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:21.173473' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000492  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561782;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000501  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561782;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:22.173617' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000576  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561782;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:22.17355' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001088  Lock_time: 0.000256  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561783;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000694  Lock_time: 0.000424  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561783;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:23.172974' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000547  Lock_time: 0.000313  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561783;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:23.173234' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001753  Lock_time: 0.001422  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561783;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001373  Lock_time: 0.000980  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561784;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:24.173554' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002233  Lock_time: 0.001829  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561784;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1498  Schema:   QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561785;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1499  Schema:   QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561785;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1499  Schema:   QC_hit: No
# Query_time: 0.002657  Lock_time: 0.002474  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561785;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1498  Schema:   QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000300  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561785;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001130  Lock_time: 0.000870  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561785;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:25.173742' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001944  Lock_time: 0.001669  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561785;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001079  Lock_time: 0.000813  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561785;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:25.174164' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001439  Lock_time: 0.000309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561786;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002231  Lock_time: 0.001889  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561786;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000524  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561786;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:26.174603' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001021  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561787;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002681  Lock_time: 0.002312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561787;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:27.173816' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000741  Lock_time: 0.000303  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561787;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:27.174056' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002585  Lock_time: 0.002146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561787;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000994  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561788;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000625  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561788;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:28.173201' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.007004  Lock_time: 0.006522  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561788;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:28.174015' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001326  Lock_time: 0.000330  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561789;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561789;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:29.173455' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000814  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561789;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:29.173951' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1502  Schema:   QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561790;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1502  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561790;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001081  Lock_time: 0.000288  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561790;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000713  Lock_time: 0.000233  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561790;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000679  Lock_time: 0.000353  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561790;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:30.174553' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001473  Lock_time: 0.001315  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561790;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:30.1736' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000607  Lock_time: 0.000281  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561791;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561791;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:31.17537' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561791;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:31.17476' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002770  Lock_time: 0.001661  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561792;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561792;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561792;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:32.173635' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561793;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:33.173786' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002701  Lock_time: 0.000849  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561793;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001042  Lock_time: 0.000295  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561794;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000622  Lock_time: 0.000344  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561794;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000429  Lock_time: 0.000222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561794;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:34.173859' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000684  Lock_time: 0.000275  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561794;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:34.174802' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1504  Schema:   QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000241  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561795;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1503  Schema:   QC_hit: No
# Query_time: 0.014400  Lock_time: 0.014191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561795;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1503  Schema:   QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000330  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561795;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1504  Schema:   QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000391  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561795;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001001  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561795;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000914  Lock_time: 0.000610  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561795;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:35.17398' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561795;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:35.174097' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000943  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561796;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000546  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561796;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002357  Lock_time: 0.002059  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561796;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:36.173283' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002162  Lock_time: 0.001872  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561796;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:36.174032' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000960  Lock_time: 0.000630  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561797;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000822  Lock_time: 0.000401  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561797;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:37.173699' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561797;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:37.173479' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000915  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561798;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001036  Lock_time: 0.000587  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561798;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:38.173113' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002625  Lock_time: 0.002186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561798;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000510  Lock_time: 0.000222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561799;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561799;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:39.175129' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561799;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:39.174936' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001046  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561800;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004214  Lock_time: 0.003961  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561800;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003536  Lock_time: 0.003253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561800;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:40.172898' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001086  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561801;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001055  Lock_time: 0.000660  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561801;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:41.174783' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000851  Lock_time: 0.000463  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561801;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:41.175066' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001008  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561802;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561802;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002036  Lock_time: 0.001739  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561802;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:42.173858' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001185  Lock_time: 0.000926  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561802;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:42.174221' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001027  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561803;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000965  Lock_time: 0.000797  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561803;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:43.173697' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003311  Lock_time: 0.003078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561803;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:43.174131' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000788  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561804;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561804;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561804;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:44.173548' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561804;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:44.173302' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1508  Schema:   QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000254  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561805;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1507  Schema:   QC_hit: No
# Query_time: 0.000562  Lock_time: 0.000402  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561805;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1507  Schema:   QC_hit: No
# Query_time: 0.000580  Lock_time: 0.000378  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561805;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1508  Schema:   QC_hit: No
# Query_time: 0.001460  Lock_time: 0.001270  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561805;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000730  Lock_time: 0.000421  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561805;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000535  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561805;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:45.173053' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561805;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:45.173125' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000375  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561806;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000550  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561806;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:46.173773' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000286  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561806;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:46.173858' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000979  Lock_time: 0.000274  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561807;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001665  Lock_time: 0.001334  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561807;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:47.173142' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002410  Lock_time: 0.002038  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561807;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000855  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561808;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000611  Lock_time: 0.000336  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561808;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561808;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:48.173873' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561809;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561809;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:49.173456' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561809;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:49.173067' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001160  Lock_time: 0.000296  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561810;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561810;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561810;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:50.173567' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561810;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:50.173896' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001009  Lock_time: 0.000246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561811;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002144  Lock_time: 0.001798  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561811;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000567  Lock_time: 0.000263  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561811;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:51.173703' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001149  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561812;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002174  Lock_time: 0.001834  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561812;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:52.173636' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002263  Lock_time: 0.001954  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561812;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:52.174381' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001153  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561813;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000768  Lock_time: 0.000458  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561813;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561813;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:53.174594' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001047  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561814;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001845  Lock_time: 0.001663  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561814;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561814;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:54.173664' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1511  Schema:   QC_hit: No
# Query_time: 0.000558  Lock_time: 0.000440  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561815;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1511  Schema:   QC_hit: No
# Query_time: 0.001306  Lock_time: 0.001181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561815;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1512  Schema:   QC_hit: No
# Query_time: 0.001288  Lock_time: 0.001096  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561815;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1512  Schema:   QC_hit: No
# Query_time: 0.004591  Lock_time: 0.004356  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561815;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000891  Lock_time: 0.000575  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561815;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561815;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:55.173156' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561815;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:55.174899' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001051  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561816;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002904  Lock_time: 0.002580  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561816;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000719  Lock_time: 0.000400  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561816;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:56.173759' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000475  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561817;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:57.174589' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000433  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561817;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:57.175328' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561817;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001218  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561818;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003183  Lock_time: 0.002984  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561818;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001727  Lock_time: 0.001563  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561818;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:58.173077' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:36:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000468  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561819;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:59.174704' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561819;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:36:59.17387' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1515  Schema:   QC_hit: No
# Query_time: 0.000632  Lock_time: 0.000523  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561820;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1515  Schema:   QC_hit: No
# Query_time: 0.000516  Lock_time: 0.000379  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561820;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001218  Lock_time: 0.000273  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561820;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002907  Lock_time: 0.002582  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561820;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002015  Lock_time: 0.001672  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561820;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:00.173241' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002573  Lock_time: 0.002279  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561821;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001134  Lock_time: 0.000800  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561821;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:01.172968' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001123  Lock_time: 0.000789  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561821;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:01.173264' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001206  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561822;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000584  Lock_time: 0.000255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561822;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561822;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:02.173279' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561823;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000244  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561823;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:03.173524' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000714  Lock_time: 0.000513  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561823;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:03.173972' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000981  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561824;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000625  Lock_time: 0.000317  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561824;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:04.17308' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001822  Lock_time: 0.001540  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561824;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1517  Schema:   QC_hit: No
# Query_time: 0.000617  Lock_time: 0.000410  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561825;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1516  Schema:   QC_hit: No
# Query_time: 0.000510  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561825;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1517  Schema:   QC_hit: No
# Query_time: 0.000605  Lock_time: 0.000405  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561825;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1516  Schema:   QC_hit: No
# Query_time: 0.000610  Lock_time: 0.000399  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561825;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000983  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561825;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002058  Lock_time: 0.001772  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561825;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001052  Lock_time: 0.000876  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561825;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:05.17414' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561826;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001825  Lock_time: 0.001583  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561826;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:06.17333' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000399  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561826;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:06.175727' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561827;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001813  Lock_time: 0.000449  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561827;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000567  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561827;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:07.173216' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000582  Lock_time: 0.000306  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561828;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000714  Lock_time: 0.000463  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561828;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:08.173542' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001485  Lock_time: 0.001265  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561828;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:08.173764' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000882  Lock_time: 0.000602  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561829;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002501  Lock_time: 0.001541  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561829;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000846  Lock_time: 0.000569  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561829;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:09.173307' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001306  Lock_time: 0.000988  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561830;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:10.17312' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002775  Lock_time: 0.002587  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561830;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001216  Lock_time: 0.000912  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561830;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:10.172978' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001022  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561831;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001798  Lock_time: 0.001495  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561831;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561831;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:11.173548' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000689  Lock_time: 0.000522  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561831;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:11.173332' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001997  Lock_time: 0.001703  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561832;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561832;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:12.17422' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561832;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:12.174726' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001168  Lock_time: 0.000282  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561833;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002877  Lock_time: 0.002592  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561833;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001319  Lock_time: 0.001103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561833;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:13.174126' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000885  Lock_time: 0.000735  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561833;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:13.173906' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000577  Lock_time: 0.000302  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561834;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:14.174247' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561834;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:14.174663' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003263  Lock_time: 0.003070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561834;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1520  Schema:   QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000241  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561835;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1520  Schema:   QC_hit: No
# Query_time: 0.000154  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561835;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1521  Schema:   QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000213  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561835;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1521  Schema:   QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561835;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001132  Lock_time: 0.000322  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561835;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006283  Lock_time: 0.005948  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561835;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004864  Lock_time: 0.004527  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561835;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:15.173976' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000749  Lock_time: 0.000375  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561836;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:16.174663' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000540  Lock_time: 0.000334  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561836;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:16.175557' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003055  Lock_time: 0.002867  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561836;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000732  Lock_time: 0.000474  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561837;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561837;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:17.172946' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001902  Lock_time: 0.001388  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561837;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:17.172883' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561838;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561838;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:18.173457' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561838;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:18.173679' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001140  Lock_time: 0.000309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561839;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561839;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:19.17299' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561839;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:19.173265' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003144  Lock_time: 0.002293  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561840;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561840;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561840;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:20.173509' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000468  Lock_time: 0.000311  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561840;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:20.173731' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002693  Lock_time: 0.002006  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561841;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000544  Lock_time: 0.000243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561841;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000404  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561841;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:21.17393' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001324  Lock_time: 0.000565  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561842;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561842;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:22.174241' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561842;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:22.17359' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561843;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000399  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561843;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:23.173435' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000677  Lock_time: 0.000478  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561843;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:23.174104' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001111  Lock_time: 0.000323  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561844;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002197  Lock_time: 0.001855  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561844;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000601  Lock_time: 0.000380  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561844;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:24.173884' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1524  Schema:   QC_hit: No
# Query_time: 0.003278  Lock_time: 0.003019  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561845;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1524  Schema:   QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561845;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1525  Schema:   QC_hit: No
# Query_time: 0.001771  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561845;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1525  Schema:   QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561845;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001086  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561845;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001766  Lock_time: 0.001505  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561845;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000691  Lock_time: 0.000480  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561845;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:25.175226' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001346  Lock_time: 0.000431  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561846;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.011952  Lock_time: 0.011410  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561846;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:26.173813' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.012564  Lock_time: 0.012022  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561846;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.012007  Lock_time: 0.011418  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561846;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:26.173061' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001032  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561847;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000671  Lock_time: 0.000448  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561847;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561847;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:27.174503' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561848;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561848;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:28.174054' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001794  Lock_time: 0.001456  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561848;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:28.282031' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001068  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561849;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002349  Lock_time: 0.002107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561849;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001425  Lock_time: 0.001224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561849;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:29.173782' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1528  Schema:   QC_hit: No
# Query_time: 0.000444  Lock_time: 0.000252  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561850;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1528  Schema:   QC_hit: No
# Query_time: 0.000360  Lock_time: 0.000221  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561850;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001903  Lock_time: 0.001656  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561850;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001934  Lock_time: 0.001762  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561850;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:30.173915' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000977  Lock_time: 0.000763  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561850;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:30.174181' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000920  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561851;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000330  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561851;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001535  Lock_time: 0.001068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561851;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:31.174245' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008628  Lock_time: 0.008160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561851;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:31.173238' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002978  Lock_time: 0.002648  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561852;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004382  Lock_time: 0.004170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561852;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:32.173775' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001024  Lock_time: 0.000737  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561852;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:32.174037' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001100  Lock_time: 0.000269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561853;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001584  Lock_time: 0.001305  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561853;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001876  Lock_time: 0.001565  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561853;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:33.173394' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000880  Lock_time: 0.000555  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561853;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:33.173955' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001318  Lock_time: 0.000451  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561854;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000244  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561854;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001940  Lock_time: 0.001666  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561854;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:34.173178' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001928  Lock_time: 0.001652  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561854;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:34.173337' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1530  Schema:   QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561855;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1529  Schema:   QC_hit: No
# Query_time: 0.001105  Lock_time: 0.001024  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561855;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1530  Schema:   QC_hit: No
# Query_time: 0.001700  Lock_time: 0.001607  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561855;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1529  Schema:   QC_hit: No
# Query_time: 0.002884  Lock_time: 0.002812  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561855;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000769  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561855;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561855;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000464  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561855;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:35.173624' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561855;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:35.173943' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001829  Lock_time: 0.001530  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561856;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561856;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:36.172925' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002063  Lock_time: 0.001437  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561856;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 220410  3:37:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561857;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561857;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:37.17374' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004027  Lock_time: 0.003253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561858;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000534  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561858;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000752  Lock_time: 0.000453  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561858;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:38.17485' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561858;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:38.176022' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002122  Lock_time: 0.001868  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561859;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000836  Lock_time: 0.000610  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561859;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:39.173544' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002167  Lock_time: 0.001366  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561859;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:39.173885' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000805  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561860;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002197  Lock_time: 0.002000  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561860;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001086  Lock_time: 0.000885  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561860;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:40.173199' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001201  Lock_time: 0.000914  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561860;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:40.173034' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001119  Lock_time: 0.000886  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561861;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:41.173613' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002165  Lock_time: 0.001882  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561861;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000663  Lock_time: 0.000351  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561861;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:41.173901' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001062  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561862;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000884  Lock_time: 0.000637  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561862;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:42.173189' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001740  Lock_time: 0.001461  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561862;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000563  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561863;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002476  Lock_time: 0.002199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561863;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:43.173719' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002480  Lock_time: 0.002205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561863;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:43.173665' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000962  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561864;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001216  Lock_time: 0.000966  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561864;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561864;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:44.174073' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1533  Schema:   QC_hit: No
# Query_time: 0.000983  Lock_time: 0.000877  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561865;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1534  Schema:   QC_hit: No
# Query_time: 0.000840  Lock_time: 0.000709  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561865;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1534  Schema:   QC_hit: No
# Query_time: 0.000634  Lock_time: 0.000476  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561865;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1533  Schema:   QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000253  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561865;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561865;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561865;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:45.173295' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561865;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:45.17361' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000586  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561866;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561866;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:46.174445' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000474  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561866;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:46.174277' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000889  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561867;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001769  Lock_time: 0.001308  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561867;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561867;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:47.173385' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561868;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:48.172835' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001862  Lock_time: 0.001685  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561868;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:48.173502' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000455  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561868;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001083  Lock_time: 0.000331  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561869;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561869;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002761  Lock_time: 0.002378  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561869;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:49.172816' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002989  Lock_time: 0.002567  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561869;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:49.173167' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001004  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561870;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561870;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002565  Lock_time: 0.002307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561870;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:50.174077' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001189  Lock_time: 0.000316  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561871;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561871;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:51.173241' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002520  Lock_time: 0.002228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561871;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:51.173418' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001199  Lock_time: 0.000326  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561872;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001154  Lock_time: 0.000827  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561872;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:52.17349' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001497  Lock_time: 0.001310  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561872;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:52.17417' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561873;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002057  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561873;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:53.172636' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002072  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561873;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:53.173167' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001067  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561874;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001429  Lock_time: 0.001198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561874;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000660  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561874;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:54.17379' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1537  Schema:   QC_hit: No
# Query_time: 0.000444  Lock_time: 0.000216  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561875;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1537  Schema:   QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000322  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561875;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1538  Schema:   QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561875;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1538  Schema:   QC_hit: No
# Query_time: 0.000520  Lock_time: 0.000368  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561875;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561875;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561875;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:55.174928' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561875;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:55.173859' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001075  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561876;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561876;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:56.175716' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000321  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561876;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:56.177027' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000952  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561877;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561877;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001873  Lock_time: 0.001680  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561877;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:57.173378' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001483  Lock_time: 0.000293  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561878;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561878;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002171  Lock_time: 0.001753  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561878;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:58.172921' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002038  Lock_time: 0.001605  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561878;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:58.173088' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:37:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000919  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561879;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561879;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001625  Lock_time: 0.001315  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561879;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:37:59.174776' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1541  Schema:   QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561880;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1541  Schema:   QC_hit: No
# Query_time: 0.000547  Lock_time: 0.000451  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561880;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561880;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002507  Lock_time: 0.002223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561880;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:00.173536' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002281  Lock_time: 0.001988  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561880;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:00.174025' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001016  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561881;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001878  Lock_time: 0.001609  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561881;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002623  Lock_time: 0.002380  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561881;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:01.174016' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002413  Lock_time: 0.001743  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561882;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:02.173567' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003338  Lock_time: 0.002974  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561882;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002447  Lock_time: 0.002115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561882;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:02.173955' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001006  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561883;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004506  Lock_time: 0.004188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561883;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003375  Lock_time: 0.002954  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561883;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:03.173384' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000964  Lock_time: 0.000710  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561884;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561884;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:04.17368' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000946  Lock_time: 0.000744  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561884;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:04.173979' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1542  Schema:   QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000251  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561885;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1543  Schema:   QC_hit: No
# Query_time: 0.000372  Lock_time: 0.000241  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561885;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1542  Schema:   QC_hit: No
# Query_time: 0.000852  Lock_time: 0.000687  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561885;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1543  Schema:   QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000313  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561885;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000582  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561885;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:05.17372' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000637  Lock_time: 0.000325  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561885;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000578  Lock_time: 0.000296  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561885;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:05.174386' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001233  Lock_time: 0.000305  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561886;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001716  Lock_time: 0.001469  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561886;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:06.173782' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001334  Lock_time: 0.001113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561886;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:06.173744' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001052  Lock_time: 0.000287  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561887;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002646  Lock_time: 0.002411  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561887;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002543  Lock_time: 0.002224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561887;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:07.174282' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002605  Lock_time: 0.002318  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561887;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:07.174509' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001510  Lock_time: 0.000317  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561888;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005689  Lock_time: 0.005210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561888;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:08.173408' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005604  Lock_time: 0.005095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561888;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:08.173564' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001516  Lock_time: 0.000604  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561889;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001674  Lock_time: 0.001279  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561889;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:09.173634' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002174  Lock_time: 0.001752  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561889;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:09.173295' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001133  Lock_time: 0.000740  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561890;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:10.173745' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002286  Lock_time: 0.001731  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561890;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003528  Lock_time: 0.000426  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561890;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004375  Lock_time: 0.004033  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561890;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:10.174439' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001569  Lock_time: 0.000478  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561891;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.007114  Lock_time: 0.006641  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561891;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:11.173694' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.007013  Lock_time: 0.006255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561891;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:11.174053' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003547  Lock_time: 0.003245  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561892;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002267  Lock_time: 0.001971  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561892;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:12.173962' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002051  Lock_time: 0.001428  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561892;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:12.173287' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001185  Lock_time: 0.000348  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561893;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000520  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561893;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000717  Lock_time: 0.000444  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561893;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:13.173302' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561894;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000542  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561894;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:14.173165' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001169  Lock_time: 0.000799  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561894;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:14.173257' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1547  Schema:   QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561895;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1546  Schema:   QC_hit: No
# Query_time: 0.001003  Lock_time: 0.000911  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561895;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1546  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561895;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1547  Schema:   QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000250  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561895;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000827  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561895;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002264  Lock_time: 0.001999  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561895;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561895;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:15.174233' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000609  Lock_time: 0.000305  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561895;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:15.174404' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001518  Lock_time: 0.000402  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561896;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001769  Lock_time: 0.001414  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561896;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:16.173991' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001441  Lock_time: 0.001022  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561896;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:16.173424' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002015  Lock_time: 0.001562  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561896;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000902  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561897;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001161  Lock_time: 0.000790  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561897;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002547  Lock_time: 0.002324  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561897;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:17.173649' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561898;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000508  Lock_time: 0.000275  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561898;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:18.173152' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000588  Lock_time: 0.000264  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561898;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:18.173098' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000727  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561899;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000465  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561899;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561899;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:19.175147' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561899;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:19.174026' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001074  Lock_time: 0.000261  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561900;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561900;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561900;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:20.173936' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000482  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561901;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000554  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561901;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:21.174953' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000482  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561901;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:21.173761' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000564  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561902;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000512  Lock_time: 0.000233  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561902;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:22.173467' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561902;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:22.173361' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000866  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561903;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561903;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561903;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:23.173752' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561903;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:23.174668' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001678  Lock_time: 0.000892  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561904;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561904;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:24.173413' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001298  Lock_time: 0.001126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561904;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:24.17291' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1550  Schema:   QC_hit: No
# Query_time: 0.000482  Lock_time: 0.000344  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561905;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1551  Schema:   QC_hit: No
# Query_time: 0.000621  Lock_time: 0.000504  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561905;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1550  Schema:   QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561905;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1551  Schema:   QC_hit: No
# Query_time: 0.000524  Lock_time: 0.000340  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561905;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561905;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001293  Lock_time: 0.001078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561905;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:25.173782' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001896  Lock_time: 0.001668  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561905;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:25.173799' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001163  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561906;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561906;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002450  Lock_time: 0.002030  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561906;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:26.173858' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000948  Lock_time: 0.000254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561907;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000686  Lock_time: 0.000254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561907;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:27.173544' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001355  Lock_time: 0.001116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561907;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:27.175303' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000943  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561908;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000515  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561908;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001063  Lock_time: 0.000636  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561908;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:28.176575' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001520  Lock_time: 0.001161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561909;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:29.173401' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001809  Lock_time: 0.001202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561909;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:29.174328' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002143  Lock_time: 0.001857  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561909;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1554  Schema:   QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561910;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1554  Schema:   QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561910;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001056  Lock_time: 0.000281  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561910;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561910;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000919  Lock_time: 0.000350  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561910;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:30.173066' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000679  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561910;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:30.173164' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000493  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561911;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000753  Lock_time: 0.000533  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561911;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:31.172889' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000861  Lock_time: 0.000533  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561911;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:31.173495' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001446  Lock_time: 0.000376  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561912;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000749  Lock_time: 0.000399  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561912;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:32.172867' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000520  Lock_time: 0.000254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561912;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:32.173568' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001294  Lock_time: 0.001023  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561912;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002977  Lock_time: 0.001952  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561913;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561913;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000703  Lock_time: 0.000383  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561913;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:33.174429' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001082  Lock_time: 0.000302  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561914;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000480  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561914;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561914;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:34.174093' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1556  Schema:   QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561915;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1555  Schema:   QC_hit: No
# Query_time: 0.000596  Lock_time: 0.000380  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561915;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1556  Schema:   QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000252  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561915;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1555  Schema:   QC_hit: No
# Query_time: 0.003696  Lock_time: 0.003509  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561915;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000974  Lock_time: 0.000240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561915;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001246  Lock_time: 0.001027  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561915;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:35.173287' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001043  Lock_time: 0.000793  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561915;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:35.173371' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003475  Lock_time: 0.003096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561916;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001919  Lock_time: 0.001576  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561916;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:36.173741' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001760  Lock_time: 0.001410  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561916;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:36.174435' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001090  Lock_time: 0.000486  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561917;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561917;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008582  Lock_time: 0.008152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561917;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:37.174303' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561918;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561918;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:38.173466' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002369  Lock_time: 0.002215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561918;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:38.174099' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001092  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561919;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561919;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002599  Lock_time: 0.002150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561919;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:39.174397' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003031  Lock_time: 0.002811  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561919;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:39.174166' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001051  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561920;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001909  Lock_time: 0.001536  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561920;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001207  Lock_time: 0.000872  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561920;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:40.173847' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001119  Lock_time: 0.000383  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561921;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561921;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561921;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:41.174439' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000505  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561921;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:41.174027' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001548  Lock_time: 0.000454  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561922;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000453  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561922;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:42.173742' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561922;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:42.173948' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002950  Lock_time: 0.002042  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561923;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561923;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561923;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:43.173748' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001090  Lock_time: 0.000858  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561923;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:43.174215' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002652  Lock_time: 0.001934  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561924;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561924;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:44.174217' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000573  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561924;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:44.174296' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1560  Schema:   QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000221  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561925;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1559  Schema:   QC_hit: No
# Query_time: 0.001344  Lock_time: 0.001113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561925;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1560  Schema:   QC_hit: No
# Query_time: 0.002397  Lock_time: 0.002250  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561925;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1559  Schema:   QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000229  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561925;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561925;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561925;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:45.173142' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561925;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:45.173736' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000899  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561926;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002885  Lock_time: 0.002642  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561926;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000453  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561926;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:46.173106' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000968  Lock_time: 0.000653  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561926;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:46.173118' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003217  Lock_time: 0.002920  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561927;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001748  Lock_time: 0.001555  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561927;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:47.17343' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561927;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:47.174403' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000777  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561928;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561928;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561928;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:48.172607' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561928;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:48.173206' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561929;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000774  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561929;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561929;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:49.174291' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561930;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000650  Lock_time: 0.000327  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561930;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:50.173182' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000654  Lock_time: 0.000371  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561930;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:50.173432' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000841  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561931;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561931;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561931;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:51.173882' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000596  Lock_time: 0.000407  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561931;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:51.174247' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000990  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561932;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561932;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:52.173813' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000592  Lock_time: 0.000437  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561932;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:52.174336' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001144  Lock_time: 0.000263  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561933;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001553  Lock_time: 0.001327  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561933;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561933;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:53.174165' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001192  Lock_time: 0.000296  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561934;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000854  Lock_time: 0.000594  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561934;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561934;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:54.173599' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1563  Schema:   QC_hit: No
# Query_time: 0.001323  Lock_time: 0.000223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561935;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1563  Schema:   QC_hit: No
# Query_time: 0.000444  Lock_time: 0.000260  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561935;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1564  Schema:   QC_hit: No
# Query_time: 0.000580  Lock_time: 0.000383  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561935;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1564  Schema:   QC_hit: No
# Query_time: 0.004127  Lock_time: 0.003939  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561935;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001850  Lock_time: 0.001539  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561935;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:55.173116' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002781  Lock_time: 0.002452  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561935;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001867  Lock_time: 0.001521  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561935;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:55.173686' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001059  Lock_time: 0.000269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561936;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005730  Lock_time: 0.005418  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561936;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001311  Lock_time: 0.001089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561936;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:56.173725' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001066  Lock_time: 0.000266  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561937;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001609  Lock_time: 0.001067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561937;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561937;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:57.17471' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000637  Lock_time: 0.000327  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561938;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001952  Lock_time: 0.001659  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561938;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:58.173943' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002022  Lock_time: 0.001729  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561938;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:58.174203' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:38:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000903  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561939;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561939;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561939;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:38:59.173809' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1567  Schema:   QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000297  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561940;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1567  Schema:   QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000268  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561940;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001060  Lock_time: 0.000293  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561940;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561940;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:00.173634' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000412  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561940;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:00.174341' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001150  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561941;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000289  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561941;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001121  Lock_time: 0.000955  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561941;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:01.172682' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000538  Lock_time: 0.000324  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561941;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:01.173955' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004506  Lock_time: 0.003434  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561942;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001157  Lock_time: 0.000957  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561942;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:02.17299' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000629  Lock_time: 0.000419  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561942;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:02.173281' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000956  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561943;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001060  Lock_time: 0.000783  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561943;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000622  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561943;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:03.174157' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561944;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561944;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:04.173426' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561944;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:04.173601' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1568  Schema:   QC_hit: No
# Query_time: 0.000737  Lock_time: 0.000251  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561945;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1569  Schema:   QC_hit: No
# Query_time: 0.002824  Lock_time: 0.002690  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561945;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1568  Schema:   QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000214  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561945;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1569  Schema:   QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561945;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001022  Lock_time: 0.000240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561945;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001798  Lock_time: 0.001518  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561945;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001262  Lock_time: 0.000936  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561945;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:05.172714' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001948  Lock_time: 0.001678  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561946;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000894  Lock_time: 0.000628  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561946;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:06.17402' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001001  Lock_time: 0.000490  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561946;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:06.173759' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000951  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561947;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002353  Lock_time: 0.002164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561947;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001370  Lock_time: 0.001107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561947;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:07.174466' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001916  Lock_time: 0.001295  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561947;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:07.174039' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000988  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561948;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561948;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561948;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:08.174474' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002319  Lock_time: 0.001920  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561949;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:09.174104' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003082  Lock_time: 0.002656  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561949;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:09.174349' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000967  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561950;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561950;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002709  Lock_time: 0.002304  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561950;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:10.175542' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001061  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561950;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:10.174354' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001028  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561951;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000730  Lock_time: 0.000386  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561951;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561951;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:11.174956' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001064  Lock_time: 0.000229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561952;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000680  Lock_time: 0.000383  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561952;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:12.173023' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001221  Lock_time: 0.001016  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561952;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:12.173419' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000987  Lock_time: 0.000304  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561953;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561953;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561953;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:13.17334' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000473  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561953;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:13.174046' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000566  Lock_time: 0.000313  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561954;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000339  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561954;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:14.173349' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000881  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561954;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000905  Lock_time: 0.000663  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561954;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:14.173638' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1575  Schema:   QC_hit: No
# Query_time: 0.000628  Lock_time: 0.000449  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561955;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1574  Schema:   QC_hit: No
# Query_time: 0.000512  Lock_time: 0.000447  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561955;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1574  Schema:   QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000342  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561955;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1575  Schema:   QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000290  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561955;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.009389  Lock_time: 0.008624  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561955;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000968  Lock_time: 0.000830  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561955;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561955;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:15.173803' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000630  Lock_time: 0.000353  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561956;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000438  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561956;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:16.174687' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000318  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561956;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:16.173651' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000809  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561957;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561957;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001759  Lock_time: 0.001524  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561957;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:17.173675' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561957;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:17.174356' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000971  Lock_time: 0.000317  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561958;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561958;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561958;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:18.173719' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002410  Lock_time: 0.002077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561958;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:18.173821' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000483  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561959;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001415  Lock_time: 0.000766  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561959;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001165  Lock_time: 0.000229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561959;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:19.174049' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001598  Lock_time: 0.001340  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561959;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:19.173335' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001133  Lock_time: 0.000266  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561960;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561960;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000669  Lock_time: 0.000332  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561960;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:20.173707' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001176  Lock_time: 0.000625  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561960;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:20.173944' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003001  Lock_time: 0.000944  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561961;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561961;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:21.173541' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561961;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:21.173974' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002400  Lock_time: 0.001649  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561962;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561962;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561962;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:22.172919' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001147  Lock_time: 0.000338  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561963;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561963;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:23.173823' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002801  Lock_time: 0.001964  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561964;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561964;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561964;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:24.174077' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561964;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:24.173844' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1579  Schema:   QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561965;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1578  Schema:   QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000362  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561965;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1579  Schema:   QC_hit: No
# Query_time: 0.000615  Lock_time: 0.000404  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561965;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1578  Schema:   QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000271  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561965;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000952  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561965;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001664  Lock_time: 0.001227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561965;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:25.173698' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561965;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:25.173681' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002597  Lock_time: 0.002274  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561966;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000436  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561966;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:26.173719' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000765  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561966;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:26.173187' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000956  Lock_time: 0.000277  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561967;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561967;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001253  Lock_time: 0.001062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561967;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:27.173699' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000694  Lock_time: 0.000527  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561967;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:27.173924' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561968;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:28.174496' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000675  Lock_time: 0.000387  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561968;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:28.173751' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561968;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001164  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561969;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000291  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561969;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000705  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561969;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:29.173512' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000460  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561969;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:29.173326' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1582  Schema:   QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561970;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1582  Schema:   QC_hit: No
# Query_time: 0.000501  Lock_time: 0.000312  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561970;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000900  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561970;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002468  Lock_time: 0.002242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561970;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000432  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561970;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:30.173492' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001056  Lock_time: 0.000274  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561971;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003258  Lock_time: 0.002967  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561971;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561971;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:31.173552' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000754  Lock_time: 0.000528  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561972;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:32.173076' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002317  Lock_time: 0.002025  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561972;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561972;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:32.174437' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001503  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561973;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000318  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561973;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003599  Lock_time: 0.003245  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561973;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:33.173339' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000644  Lock_time: 0.000261  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561974;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561974;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:34.173245' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561974;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:34.173525' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1584  Schema:   QC_hit: No
# Query_time: 0.009588  Lock_time: 0.009404  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561975;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1583  Schema:   QC_hit: No
# Query_time: 0.009589  Lock_time: 0.009403  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561975;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1583  Schema:   QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000239  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561975;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1584  Schema:   QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000266  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561975;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001487  Lock_time: 0.000229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561975;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001605  Lock_time: 0.001330  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561975;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561975;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:35.173952' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001039  Lock_time: 0.000880  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561976;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561976;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:36.173439' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561976;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:36.173592' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001170  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561977;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002421  Lock_time: 0.002154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561977;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001248  Lock_time: 0.001024  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561977;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:37.17316' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004974  Lock_time: 0.004640  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561978;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005298  Lock_time: 0.005045  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561978;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:38.173416' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000630  Lock_time: 0.000263  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561978;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:38.174009' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000759  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561979;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561979;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561979;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:39.17345' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001856  Lock_time: 0.001684  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561979;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:39.1744' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001001  Lock_time: 0.000266  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561980;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002125  Lock_time: 0.001998  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561980;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002384  Lock_time: 0.002155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561980;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:40.173968' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001051  Lock_time: 0.000716  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561981;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:41.173604' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001830  Lock_time: 0.001460  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561981;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561981;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:41.174815' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001127  Lock_time: 0.000222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561982;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002479  Lock_time: 0.002077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561982;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:42.173254' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005214  Lock_time: 0.004819  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561982;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001079  Lock_time: 0.000885  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561982;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:42.174369' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001564  Lock_time: 0.000874  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561983;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561983;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001012  Lock_time: 0.000777  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561983;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:43.174312' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002905  Lock_time: 0.002634  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561983;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:43.174584' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000881  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561984;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561984;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:44.173698' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000402  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561984;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:44.174026' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1587  Schema:   QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000267  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561985;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1588  Schema:   QC_hit: No
# Query_time: 0.000642  Lock_time: 0.000506  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561985;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1588  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561985;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1587  Schema:   QC_hit: No
# Query_time: 0.000531  Lock_time: 0.000382  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561985;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000456  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561985;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001207  Lock_time: 0.000669  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561985;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004358  Lock_time: 0.004045  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561985;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:45.173434' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561986;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561986;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:46.173733' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000604  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561986;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:46.174947' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000828  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561987;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003061  Lock_time: 0.002750  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561987;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561987;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:47.174451' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561987;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:47.174483' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001301  Lock_time: 0.000383  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561988;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005412  Lock_time: 0.004904  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561988;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:48.173493' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.007675  Lock_time: 0.007141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561988;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:48.173455' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561989;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001439  Lock_time: 0.001219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561989;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:49.173495' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001354  Lock_time: 0.001167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561989;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:49.173597' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000881  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561990;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561990;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002491  Lock_time: 0.002150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561990;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:50.173719' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000985  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561991;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004132  Lock_time: 0.003756  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561991;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:51.172975' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004307  Lock_time: 0.003517  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561991;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:51.173241' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001126  Lock_time: 0.000244  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561992;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561992;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561992;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:52.173923' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561993;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:53.174124' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000578  Lock_time: 0.000445  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561993;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:53.173533' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000875  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561994;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000916  Lock_time: 0.000670  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561994;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561994;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:54.173771' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561994;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:54.17416' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1591  Schema:   QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000238  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561995;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1592  Schema:   QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000317  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649561995;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1592  Schema:   QC_hit: No
# Query_time: 0.000619  Lock_time: 0.000413  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561995;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1591  Schema:   QC_hit: No
# Query_time: 0.000399  Lock_time: 0.000231  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649561995;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000989  Lock_time: 0.000296  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561995;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006555  Lock_time: 0.006146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561995;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:55.173083' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003226  Lock_time: 0.002876  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561995;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:55.173776' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005549  Lock_time: 0.005268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561995;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001138  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561996;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000494  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561996;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001007  Lock_time: 0.000784  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561996;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:56.173052' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001557  Lock_time: 0.001348  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561997;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561997;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:57.173252' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000478  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561997;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:57.177512' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000682  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561998;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561998;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561998;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:58.173236' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561998;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:58.173673' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:39:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000707  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561999;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001318  Lock_time: 0.000323  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561999;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000492  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561999;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:59.173696' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000444  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649561999;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:39:59.173172' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1595  Schema:   QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000257  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562000;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1595  Schema:   QC_hit: No
# Query_time: 0.000527  Lock_time: 0.000329  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562000;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001065  Lock_time: 0.000347  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562000;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000360  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562000;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562000;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:00.173011' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562000;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:00.172808' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001853  Lock_time: 0.000880  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562001;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008364  Lock_time: 0.007985  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562001;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000552  Lock_time: 0.000245  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562001;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:01.174481' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562002;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562002;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:02.17403' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562002;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:02.173943' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000824  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562003;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001378  Lock_time: 0.001012  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562003;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:03.173486' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001422  Lock_time: 0.001008  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562003;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:03.173412' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002400  Lock_time: 0.002138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562003;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002272  Lock_time: 0.001926  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562004;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000714  Lock_time: 0.000326  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562004;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:04.173124' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000671  Lock_time: 0.000259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562004;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:04.173496' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1597  Schema:   QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562005;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1596  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562005;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1596  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562005;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1597  Schema:   QC_hit: No
# Query_time: 0.001224  Lock_time: 0.001067  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562005;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001004  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562005;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000601  Lock_time: 0.000383  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562005;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001874  Lock_time: 0.001674  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562005;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:05.172663' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004272  Lock_time: 0.003964  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562006;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:06.1743' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562006;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:06.174174' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005585  Lock_time: 0.005393  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562006;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001037  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562007;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562007;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:07.173106' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002463  Lock_time: 0.002067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562007;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000904  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562008;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562008;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562008;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:08.173436' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000835  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562009;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562009;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:09.174058' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562009;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:09.174158' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001141  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562010;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562010;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000718  Lock_time: 0.000481  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562010;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:10.1734' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562010;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:10.173652' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000981  Lock_time: 0.000265  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562011;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001427  Lock_time: 0.001102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562011;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:11.172883' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003396  Lock_time: 0.002989  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562011;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000942  Lock_time: 0.000243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562012;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001394  Lock_time: 0.001196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562012;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:12.174196' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001375  Lock_time: 0.001196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562012;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:12.173582' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000968  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562013;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005457  Lock_time: 0.005070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562013;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005330  Lock_time: 0.004910  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562013;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:13.173444' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004982  Lock_time: 0.004582  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562013;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:13.173534' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000892  Lock_time: 0.000282  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562014;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000436  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562014;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562014;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:14.173648' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000433  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562014;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:14.172932' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1601  Schema:   QC_hit: No
# Query_time: 0.000725  Lock_time: 0.000395  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562015;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1600  Schema:   QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000297  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562015;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1600  Schema:   QC_hit: No
# Query_time: 0.001732  Lock_time: 0.001472  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562015;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1601  Schema:   QC_hit: No
# Query_time: 0.000513  Lock_time: 0.000340  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562015;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001103  Lock_time: 0.000878  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562015;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562015;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:15.173332' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562015;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:15.172746' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001369  Lock_time: 0.001188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562016;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562016;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:16.174252' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001060  Lock_time: 0.000430  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562016;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:16.173543' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000907  Lock_time: 0.000254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562017;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002302  Lock_time: 0.002047  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562017;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000921  Lock_time: 0.000588  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562017;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:17.173307' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000923  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562018;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001950  Lock_time: 0.001719  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562018;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:18.173052' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001600  Lock_time: 0.001321  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562018;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:18.173386' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000899  Lock_time: 0.000269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562019;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562019;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002021  Lock_time: 0.001790  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562019;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:19.174117' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001206  Lock_time: 0.000667  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562020;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562020;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:20.17313' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002132  Lock_time: 0.001936  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562020;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:20.173422' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001231  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562021;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000871  Lock_time: 0.000554  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562021;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002493  Lock_time: 0.002246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562021;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:21.173864' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000590  Lock_time: 0.000345  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562022;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562022;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:22.173234' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562022;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:22.173065' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001021  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562023;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562023;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:23.173624' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562023;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562023;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:23.173917' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562024;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562024;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:24.173081' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000483  Lock_time: 0.000265  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562024;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:24.173353' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1604  Schema:   QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562025;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1605  Schema:   QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000352  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562025;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1605  Schema:   QC_hit: No
# Query_time: 0.000810  Lock_time: 0.000607  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562025;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1604  Schema:   QC_hit: No
# Query_time: 0.000580  Lock_time: 0.000345  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562025;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001169  Lock_time: 0.000344  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562025;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000443  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562025;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000737  Lock_time: 0.000574  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562025;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:25.17503' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000520  Lock_time: 0.000368  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562025;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:25.174693' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000858  Lock_time: 0.000585  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562026;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562026;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:26.173317' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000368  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562026;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:26.174317' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003025  Lock_time: 0.002144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562027;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000524  Lock_time: 0.000309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562027;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000476  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562027;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:27.176277' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000597  Lock_time: 0.000376  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562027;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:27.175958' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001092  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562028;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562028;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562028;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:28.174079' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000895  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562029;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000815  Lock_time: 0.000515  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562029;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:29.173188' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001895  Lock_time: 0.001605  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562029;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1608  Schema:   QC_hit: No
# Query_time: 0.000565  Lock_time: 0.000395  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562030;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1608  Schema:   QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562030;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000769  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562030;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001949  Lock_time: 0.001645  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562030;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001193  Lock_time: 0.000880  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562030;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:30.173577' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000609  Lock_time: 0.000325  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562030;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:30.174048' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001395  Lock_time: 0.000576  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562031;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000331  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562031;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003009  Lock_time: 0.002603  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562031;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:31.173043' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002768  Lock_time: 0.002234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562032;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002384  Lock_time: 0.001288  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562032;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:32.174334' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001911  Lock_time: 0.001717  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562032;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:32.174751' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001010  Lock_time: 0.000266  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562033;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000695  Lock_time: 0.000429  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562033;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004108  Lock_time: 0.003762  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562033;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:33.173771' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001005  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562034;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562034;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562034;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:34.173845' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001680  Lock_time: 0.001448  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562034;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:34.173535' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1610  Schema:   QC_hit: No
# Query_time: 0.000667  Lock_time: 0.000517  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562035;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1609  Schema:   QC_hit: No
# Query_time: 0.000526  Lock_time: 0.000429  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562035;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1610  Schema:   QC_hit: No
# Query_time: 0.005194  Lock_time: 0.005031  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562035;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1609  Schema:   QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000237  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562035;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000865  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562035;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562035;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000314  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562035;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:35.173183' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001572  Lock_time: 0.001383  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562035;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:35.17285' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000810  Lock_time: 0.000618  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562036;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562036;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:36.173706' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000861  Lock_time: 0.000599  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562036;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:36.173454' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.011658  Lock_time: 0.010262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562037;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001120  Lock_time: 0.000875  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562037;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562037;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:37.173191' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000601  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562038;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:38.173996' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562038;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:38.17333' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001014  Lock_time: 0.000358  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562039;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000270  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562039;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001698  Lock_time: 0.001448  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562039;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:39.173199' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000880  Lock_time: 0.000683  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562039;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:39.173664' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001198  Lock_time: 0.000269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562040;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003028  Lock_time: 0.002714  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562040;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000599  Lock_time: 0.000352  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562040;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:40.174449' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000907  Lock_time: 0.000608  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562041;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:41.174189' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002036  Lock_time: 0.001747  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562041;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000392  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562041;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:41.173555' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001090  Lock_time: 0.000277  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562042;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562042;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000709  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562042;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:42.173071' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002660  Lock_time: 0.002411  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562042;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:42.173268' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001168  Lock_time: 0.000328  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562043;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000270  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562043;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002089  Lock_time: 0.001780  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562043;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:43.173322' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002284  Lock_time: 0.002090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562043;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:43.173558' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562044;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562044;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:44.173538' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562044;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:44.173609' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1613  Schema:   QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000347  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562045;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1614  Schema:   QC_hit: No
# Query_time: 0.001016  Lock_time: 0.000796  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562045;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1613  Schema:   QC_hit: No
# Query_time: 0.004827  Lock_time: 0.004618  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562045;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1614  Schema:   QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000216  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562045;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000882  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562045;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562045;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562045;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:45.173876' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001011  Lock_time: 0.000848  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562046;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000577  Lock_time: 0.000366  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562046;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:46.174028' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562046;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:46.173107' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001008  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562047;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002064  Lock_time: 0.001751  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562047;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001103  Lock_time: 0.000771  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562047;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:47.173296' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001179  Lock_time: 0.000838  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562047;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:47.173269' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002144  Lock_time: 0.001785  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562048;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562048;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:48.175382' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562048;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:48.17549' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001123  Lock_time: 0.000382  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562049;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562049;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562049;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:49.173479' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562050;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000554  Lock_time: 0.000371  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562050;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:50.173475' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000684  Lock_time: 0.000462  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562050;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:50.173387' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000978  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562051;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000453  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562051;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000402  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562051;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:51.173565' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562051;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:51.1738' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000879  Lock_time: 0.000270  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562052;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562052;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562052;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:52.174979' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001036  Lock_time: 0.000266  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562053;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002637  Lock_time: 0.002031  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562053;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002008  Lock_time: 0.001842  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562053;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:53.173683' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001595  Lock_time: 0.000740  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562054;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001086  Lock_time: 0.000792  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562054;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:54.172828' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000604  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562054;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:54.173292' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1617  Schema:   QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562055;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1618  Schema:   QC_hit: No
# Query_time: 0.000998  Lock_time: 0.000924  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562055;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1617  Schema:   QC_hit: No
# Query_time: 0.006908  Lock_time: 0.006701  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562055;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1618  Schema:   QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000278  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562055;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000955  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562055;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001052  Lock_time: 0.000732  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562055;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001475  Lock_time: 0.001291  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562055;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:55.17335' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002549  Lock_time: 0.002197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562056;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:56.174156' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003106  Lock_time: 0.002934  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562056;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:56.173951' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562056;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001454  Lock_time: 0.000283  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562057;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000829  Lock_time: 0.000288  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562057;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562057;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:57.173777' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002591  Lock_time: 0.000477  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562058;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001122  Lock_time: 0.000777  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562058;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:58.174091' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001126  Lock_time: 0.000780  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562058;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:58.174306' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004708  Lock_time: 0.004181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562058;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:40:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001523  Lock_time: 0.000295  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562059;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000510  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562059;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562059;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:59.173684' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000313  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562059;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:40:59.173875' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1621  Schema:   QC_hit: No
# Query_time: 0.000629  Lock_time: 0.000421  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562060;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1621  Schema:   QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000333  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562060;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001125  Lock_time: 0.000269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562060;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562060;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000512  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562060;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:00.173457' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000592  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562061;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000717  Lock_time: 0.000527  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562061;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:01.174143' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000537  Lock_time: 0.000345  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562061;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:01.174074' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001061  Lock_time: 0.000271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562062;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001761  Lock_time: 0.001347  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562062;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000474  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562062;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:02.173882' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000404  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562062;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:02.172959' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008026  Lock_time: 0.007755  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562063;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001984  Lock_time: 0.000730  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562063;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:03.173983' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000847  Lock_time: 0.000605  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562063;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:03.173608' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001379  Lock_time: 0.000709  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562064;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562064;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003094  Lock_time: 0.002776  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562064;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:04.174351' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002857  Lock_time: 0.002649  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562064;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:04.174467' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1623  Schema:   QC_hit: No
# Query_time: 0.000840  Lock_time: 0.000677  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562065;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1623  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562065;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1622  Schema:   QC_hit: No
# Query_time: 0.000711  Lock_time: 0.000502  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562065;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1622  Schema:   QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000330  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562065;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000651  Lock_time: 0.000330  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562065;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562065;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:05.174312' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003852  Lock_time: 0.003540  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562065;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:05.174543' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001146  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562066;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001950  Lock_time: 0.001582  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562066;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:06.174244' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002151  Lock_time: 0.001736  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562066;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001065  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562067;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001549  Lock_time: 0.000336  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562067;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002462  Lock_time: 0.002115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562067;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:07.173528' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001024  Lock_time: 0.000345  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562068;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000482  Lock_time: 0.000282  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562068;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:08.17549' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000872  Lock_time: 0.000306  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562068;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:08.175879' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004272  Lock_time: 0.003516  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562069;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000629  Lock_time: 0.000333  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562069;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:09.174066' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000267  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562069;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:09.174706' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001411  Lock_time: 0.001116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562070;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001791  Lock_time: 0.001153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562070;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000828  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562070;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:10.17341' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000898  Lock_time: 0.000568  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562071;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000854  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562071;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:11.174202' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000584  Lock_time: 0.000380  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562071;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:11.173656' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001091  Lock_time: 0.000927  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562072;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005056  Lock_time: 0.001694  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562072;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562072;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:12.173388' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000757  Lock_time: 0.000435  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562073;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:13.173819' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002169  Lock_time: 0.001846  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562073;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001247  Lock_time: 0.000955  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562073;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:13.173509' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001180  Lock_time: 0.000314  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562074;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562074;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:14.17362' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002893  Lock_time: 0.002757  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562074;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1626  Schema:   QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000262  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562075;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1627  Schema:   QC_hit: No
# Query_time: 0.010351  Lock_time: 0.010170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562075;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1627  Schema:   QC_hit: No
# Query_time: 0.001975  Lock_time: 0.001716  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562075;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1626  Schema:   QC_hit: No
# Query_time: 0.000775  Lock_time: 0.000530  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562075;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000880  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562075;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000465  Lock_time: 0.000259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562075;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002152  Lock_time: 0.001862  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562075;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:15.173387' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001047  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562076;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001648  Lock_time: 0.001313  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562076;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:16.174518' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003041  Lock_time: 0.002877  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562076;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000654  Lock_time: 0.000347  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562077;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:17.174091' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562077;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:17.174011' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001107  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562078;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001932  Lock_time: 0.001743  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562078;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000981  Lock_time: 0.000693  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562078;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:18.173817' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000784  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562078;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:18.173267' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562079;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562079;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:19.172918' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562079;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:19.173226' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000845  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562080;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562080;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562080;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:20.173599' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000652  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562080;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:20.174224' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000877  Lock_time: 0.000262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562081;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000771  Lock_time: 0.000482  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562081;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:21.173718' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000791  Lock_time: 0.000471  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562081;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:21.173743' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002381  Lock_time: 0.002068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562081;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001042  Lock_time: 0.000376  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562082;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000933  Lock_time: 0.000704  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562082;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:22.172931' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000971  Lock_time: 0.000826  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562082;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:22.172849' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002568  Lock_time: 0.002410  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562082;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001062  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562083;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000587  Lock_time: 0.000325  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562083;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:23.173943' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000689  Lock_time: 0.000413  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562083;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:23.17402' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000482  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562083;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001162  Lock_time: 0.000345  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562084;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562084;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:24.173661' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001704  Lock_time: 0.001460  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562084;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1630  Schema:   QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562085;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1631  Schema:   QC_hit: No
# Query_time: 0.000591  Lock_time: 0.000408  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562085;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1630  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562085;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1631  Schema:   QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000286  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562085;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001143  Lock_time: 0.000435  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562085;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001115  Lock_time: 0.000983  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562085;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002168  Lock_time: 0.001916  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562085;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:25.173196' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000825  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562086;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002297  Lock_time: 0.002085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562086;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:26.174046' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001682  Lock_time: 0.001384  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562086;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:26.173848' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001024  Lock_time: 0.000291  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562087;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000465  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562087;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:27.174098' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000476  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562087;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:27.1741' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001058  Lock_time: 0.000355  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562088;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000804  Lock_time: 0.000623  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562088;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562088;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:28.174008' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562088;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:28.173696' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000265  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562089;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:29.173815' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000566  Lock_time: 0.000271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562089;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:29.173533' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562089;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1634  Schema:   QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000219  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562090;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1634  Schema:   QC_hit: No
# Query_time: 0.000550  Lock_time: 0.000313  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562090;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001193  Lock_time: 0.000347  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562090;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001322  Lock_time: 0.001023  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562090;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:30.173106' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002303  Lock_time: 0.001780  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562090;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001046  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562091;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000536  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562091;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:31.173393' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000739  Lock_time: 0.000380  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562091;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:31.173647' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001416  Lock_time: 0.000363  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562092;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002453  Lock_time: 0.002204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562092;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002307  Lock_time: 0.002019  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562092;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:32.173352' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000484  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562093;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001588  Lock_time: 0.001397  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562093;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:33.173636' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002226  Lock_time: 0.001952  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562093;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:33.173518' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001152  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562094;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000535  Lock_time: 0.000290  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562094;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000635  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562094;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:34.172993' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002053  Lock_time: 0.001542  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562094;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:34.173051' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1636  Schema:   QC_hit: No
# Query_time: 0.000842  Lock_time: 0.000694  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562095;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1636  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562095;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1635  Schema:   QC_hit: No
# Query_time: 0.001172  Lock_time: 0.001006  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562095;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1635  Schema:   QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000326  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562095;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000989  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562095;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562095;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:35.171962' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000835  Lock_time: 0.000548  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562095;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:35.17192' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001033  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562096;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000395  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562096;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562096;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:36.173367' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562097;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000486  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562097;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:37.173785' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000564  Lock_time: 0.000333  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562097;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:37.173413' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003034  Lock_time: 0.002152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562098;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002990  Lock_time: 0.002711  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562098;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002812  Lock_time: 0.002587  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562098;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:38.172918' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001652  Lock_time: 0.001400  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562098;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:38.172845' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001068  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562099;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002015  Lock_time: 0.001708  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562099;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000856  Lock_time: 0.000493  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562099;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:39.173272' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001080  Lock_time: 0.000653  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562099;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:39.173655' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000940  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562100;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000681  Lock_time: 0.000465  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562100;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000630  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562100;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:40.173703' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001123  Lock_time: 0.000387  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562101;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562101;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:41.173301' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000843  Lock_time: 0.000543  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562101;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:41.173564' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001292  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562102;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000566  Lock_time: 0.000286  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562102;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562102;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:42.173762' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001167  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562103;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000507  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562103;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000629  Lock_time: 0.000298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562103;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:43.174575' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562103;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:43.173379' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001193  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562104;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005400  Lock_time: 0.005094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562104;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000782  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562104;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:44.173004' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1639  Schema:   QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000217  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562105;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1640  Schema:   QC_hit: No
# Query_time: 0.000726  Lock_time: 0.000644  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562105;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1639  Schema:   QC_hit: No
# Query_time: 0.000712  Lock_time: 0.000452  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562105;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1640  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562105;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562105;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003924  Lock_time: 0.002979  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562105;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562105;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:45.173765' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003155  Lock_time: 0.002798  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562106;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:46.173523' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003875  Lock_time: 0.003518  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562106;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:46.17342' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005189  Lock_time: 0.004601  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562106;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000920  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562107;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002424  Lock_time: 0.002099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562107;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562107;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:47.17474' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562107;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:47.173399' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000870  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562108;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000506  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562108;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001848  Lock_time: 0.001612  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562108;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:48.17317' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562109;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562109;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:49.173321' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002185  Lock_time: 0.001844  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562109;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:49.173574' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001037  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562110;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000633  Lock_time: 0.000373  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562110;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002446  Lock_time: 0.002194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562110;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:50.173186' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001180  Lock_time: 0.000305  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562111;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562111;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562111;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:51.17419' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000491  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562112;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000432  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562112;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:52.173084' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000433  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562112;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:52.172895' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001034  Lock_time: 0.000312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562113;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000743  Lock_time: 0.000501  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562113;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562113;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:53.173692' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000767  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562114;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000608  Lock_time: 0.000351  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562114;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562114;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:54.174163' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1644  Schema:   QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000253  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562115;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1643  Schema:   QC_hit: No
# Query_time: 0.000921  Lock_time: 0.000787  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562115;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1643  Schema:   QC_hit: No
# Query_time: 0.003895  Lock_time: 0.003707  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562115;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1644  Schema:   QC_hit: No
# Query_time: 0.002423  Lock_time: 0.002221  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562115;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001069  Lock_time: 0.000775  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562115;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000472  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562115;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:55.174409' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000483  Lock_time: 0.000266  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562115;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:55.174015' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001252  Lock_time: 0.000441  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562116;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001759  Lock_time: 0.001332  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562116;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:56.174022' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002609  Lock_time: 0.002454  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562116;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000928  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562117;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001446  Lock_time: 0.001191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562117;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562117;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:57.17394' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001544  Lock_time: 0.000663  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562118;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002114  Lock_time: 0.001787  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562118;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:58.173621' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000473  Lock_time: 0.000243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562118;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562118;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:58.173628' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:41:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001098  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562119;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000912  Lock_time: 0.000618  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562119;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001757  Lock_time: 0.001536  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562119;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:59.17438' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001829  Lock_time: 0.001553  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562119;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:41:59.173794' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1647  Schema:   QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000235  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562120;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1647  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000225  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562120;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000550  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562120;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000490  Lock_time: 0.000281  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562120;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:00.173562' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000631  Lock_time: 0.000321  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562120;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:00.173239' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001275  Lock_time: 0.000346  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562121;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562121;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562121;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:01.174322' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000712  Lock_time: 0.000324  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562122;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000739  Lock_time: 0.000439  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562122;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:02.174412' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001248  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562123;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001404  Lock_time: 0.001100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562123;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000628  Lock_time: 0.000338  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562123;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:03.174248' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000922  Lock_time: 0.000264  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562124;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003795  Lock_time: 0.003520  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562124;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001320  Lock_time: 0.001045  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562124;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:04.17436' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1649  Schema:   QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562125;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1648  Schema:   QC_hit: No
# Query_time: 0.001393  Lock_time: 0.001195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562125;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1648  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562125;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1649  Schema:   QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000392  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562125;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562125;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562125;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:05.173392' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001034  Lock_time: 0.000291  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562126;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562126;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000679  Lock_time: 0.000272  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562126;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:06.174425' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002622  Lock_time: 0.001620  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562127;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000453  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562127;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:07.173537' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562127;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:07.173919' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000645  Lock_time: 0.000323  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562128;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000867  Lock_time: 0.000446  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562128;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:08.174945' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001209  Lock_time: 0.000555  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562128;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001694  Lock_time: 0.001346  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562128;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:08.174581' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000967  Lock_time: 0.000245  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562129;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001369  Lock_time: 0.001143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562129;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002469  Lock_time: 0.002143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562129;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:09.173268' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001116  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562130;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000521  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562130;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001762  Lock_time: 0.001541  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562130;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:10.173286' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562131;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005495  Lock_time: 0.005106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562131;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:11.173481' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005008  Lock_time: 0.004784  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562131;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:11.173485' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000616  Lock_time: 0.000299  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562132;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002408  Lock_time: 0.002174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562132;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:12.173443' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002344  Lock_time: 0.002203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562132;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:12.174264' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000978  Lock_time: 0.000274  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562133;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562133;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000395  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562133;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:13.173324' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562134;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562134;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:14.173023' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000701  Lock_time: 0.000521  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562134;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:14.173185' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1652  Schema:   QC_hit: No
# Query_time: 0.000673  Lock_time: 0.000506  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562135;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1652  Schema:   QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562135;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1653  Schema:   QC_hit: No
# Query_time: 0.002878  Lock_time: 0.002695  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562135;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1653  Schema:   QC_hit: No
# Query_time: 0.002232  Lock_time: 0.001918  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562135;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001123  Lock_time: 0.000397  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562135;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562135;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562135;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:15.173462' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562136;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000610  Lock_time: 0.000311  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562136;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:16.173456' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000621  Lock_time: 0.000371  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562136;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:16.173583' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000962  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562137;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000365  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562137;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:17.173988' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000705  Lock_time: 0.000487  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562137;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:17.173765' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001796  Lock_time: 0.001522  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562137;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001146  Lock_time: 0.000269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562138;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000777  Lock_time: 0.000623  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562138;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:18.172884' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001685  Lock_time: 0.001476  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562138;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000878  Lock_time: 0.000692  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562138;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:18.17285' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000582  Lock_time: 0.000286  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562139;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001945  Lock_time: 0.001673  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562139;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:19.173263' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001813  Lock_time: 0.001538  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562139;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:19.173554' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000916  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562140;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562140;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562140;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:20.173553' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562140;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:20.173425' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000865  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562141;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562141;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562141;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:21.173187' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000698  Lock_time: 0.000381  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562142;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:22.173996' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001463  Lock_time: 0.001218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562142;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:22.173754' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000894  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562143;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002646  Lock_time: 0.002405  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562143;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000672  Lock_time: 0.000402  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562143;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:23.173345' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000867  Lock_time: 0.000670  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562144;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:24.173572' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000985  Lock_time: 0.000673  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562144;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:24.173784' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002953  Lock_time: 0.002790  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562144;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1657  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562145;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1656  Schema:   QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000324  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562145;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1657  Schema:   QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562145;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1656  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562145;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001479  Lock_time: 0.000244  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562145;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562145;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002003  Lock_time: 0.001796  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562145;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:25.172637' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002451  Lock_time: 0.002100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562146;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001025  Lock_time: 0.000674  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562146;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:26.17407' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000783  Lock_time: 0.000565  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562146;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:26.174596' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001098  Lock_time: 0.000262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562147;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562147;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000357  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562147;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:27.173144' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000986  Lock_time: 0.000280  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562148;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000538  Lock_time: 0.000338  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562148;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:28.17291' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000506  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562148;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:28.173506' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002361  Lock_time: 0.001644  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562149;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000841  Lock_time: 0.000425  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562149;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562149;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:29.17351' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1660  Schema:   QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562150;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1660  Schema:   QC_hit: No
# Query_time: 0.001043  Lock_time: 0.000802  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562150;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562150;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562150;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:30.173376' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000440  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562150;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:30.174051' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001137  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562151;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000953  Lock_time: 0.000684  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562151;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001021  Lock_time: 0.000832  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562151;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:31.173283' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001063  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562152;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003674  Lock_time: 0.003370  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562152;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:32.173501' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003196  Lock_time: 0.002998  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562152;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:32.17363' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000775  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562153;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562153;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001009  Lock_time: 0.000814  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562153;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:33.173219' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002059  Lock_time: 0.001738  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562153;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:33.174124' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000496  Lock_time: 0.000362  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562154;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001213  Lock_time: 0.001004  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562154;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:34.173679' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002214  Lock_time: 0.001828  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562154;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:34.173649' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1661  Schema:   QC_hit: No
# Query_time: 0.000505  Lock_time: 0.000330  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562155;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1662  Schema:   QC_hit: No
# Query_time: 0.000935  Lock_time: 0.000527  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562155;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1662  Schema:   QC_hit: No
# Query_time: 0.000704  Lock_time: 0.000426  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562155;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1661  Schema:   QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000249  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562155;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000790  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562155;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001006  Lock_time: 0.000730  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562155;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562155;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:35.17354' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002536  Lock_time: 0.002312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562156;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003169  Lock_time: 0.002870  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562156;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:36.174225' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002257  Lock_time: 0.001941  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562156;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:36.174241' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001052  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562157;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002209  Lock_time: 0.001984  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562157;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000636  Lock_time: 0.000318  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562157;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:37.172719' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001973  Lock_time: 0.001656  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562158;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001245  Lock_time: 0.000928  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562158;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:38.173498' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001300  Lock_time: 0.000966  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562158;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:38.173741' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001003  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562159;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562159;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000743  Lock_time: 0.000316  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562159;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:39.173014' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000548  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562160;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562160;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:40.173943' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000493  Lock_time: 0.000267  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562160;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:40.173429' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001284  Lock_time: 0.000462  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562161;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000714  Lock_time: 0.000496  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562161;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001804  Lock_time: 0.001557  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562161;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:41.173445' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000468  Lock_time: 0.000298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562161;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:41.173639' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001180  Lock_time: 0.000876  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562162;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562162;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:42.173884' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562162;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:42.172897' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002104  Lock_time: 0.001326  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562163;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001932  Lock_time: 0.001659  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562163;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000584  Lock_time: 0.000308  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562163;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:43.172942' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000951  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562164;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000484  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562164;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:44.173817' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000520  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562164;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:44.173997' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1666  Schema:   QC_hit: No
# Query_time: 0.000762  Lock_time: 0.000468  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562165;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1665  Schema:   QC_hit: No
# Query_time: 0.000440  Lock_time: 0.000289  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562165;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1665  Schema:   QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000360  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562165;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1666  Schema:   QC_hit: No
# Query_time: 0.001111  Lock_time: 0.001033  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562165;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000910  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562165;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002139  Lock_time: 0.001892  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562165;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:45.172861' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002877  Lock_time: 0.002574  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562165;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002591  Lock_time: 0.001954  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562165;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:45.173279' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000864  Lock_time: 0.000602  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562166;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:46.173571' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000848  Lock_time: 0.000565  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562166;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:46.173749' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000651  Lock_time: 0.000438  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562166;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001028  Lock_time: 0.000240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562167;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562167;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003174  Lock_time: 0.002926  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562167;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:47.17291' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562168;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004460  Lock_time: 0.004118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562168;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:48.172886' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004004  Lock_time: 0.003668  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562168;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:48.173091' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001442  Lock_time: 0.000438  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562169;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001404  Lock_time: 0.001071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562169;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001319  Lock_time: 0.000999  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562169;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:49.173109' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000936  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562170;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000998  Lock_time: 0.000844  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562170;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002355  Lock_time: 0.002091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562170;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:50.174262' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000945  Lock_time: 0.000275  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562171;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000926  Lock_time: 0.000691  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562171;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000329  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562171;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:51.173919' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562172;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000478  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562172;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:52.172996' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562172;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:52.173198' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001297  Lock_time: 0.000279  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562173;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003367  Lock_time: 0.003078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562173;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562173;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:53.173669' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562174;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562174;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:54.17359' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000480  Lock_time: 0.000318  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562174;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:54.173607' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1669  Schema:   QC_hit: No
# Query_time: 0.000486  Lock_time: 0.000315  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562175;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1670  Schema:   QC_hit: No
# Query_time: 0.000530  Lock_time: 0.000386  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562175;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1670  Schema:   QC_hit: No
# Query_time: 0.000797  Lock_time: 0.000636  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562175;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1669  Schema:   QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562175;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001145  Lock_time: 0.000325  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562175;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002051  Lock_time: 0.001756  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562175;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:55.172952' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001986  Lock_time: 0.001691  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562175;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:55.173663' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002276  Lock_time: 0.002107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562175;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001029  Lock_time: 0.000261  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562176;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000698  Lock_time: 0.000410  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562176;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:56.175693' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001856  Lock_time: 0.001570  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562176;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:56.173755' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001464  Lock_time: 0.000569  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562177;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562177;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002420  Lock_time: 0.002064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562177;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:57.173489' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001818  Lock_time: 0.000868  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562178;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005553  Lock_time: 0.005103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562178;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:58.173449' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004312  Lock_time: 0.003656  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562178;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:58.172908' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:42:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001162  Lock_time: 0.000294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562179;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562179;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000373  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562179;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:42:59.173897' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1673  Schema:   QC_hit: No
# Query_time: 0.000521  Lock_time: 0.000328  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562180;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1673  Schema:   QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562180;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562180;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562180;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:00.173804' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000890  Lock_time: 0.000591  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562180;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:00.173251' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001233  Lock_time: 0.000273  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562181;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000404  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562181;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562181;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:01.174399' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562182;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:02.173599' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562182;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:02.17374' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001085  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562183;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000975  Lock_time: 0.000703  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562183;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:03.172979' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001965  Lock_time: 0.001686  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562183;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002669  Lock_time: 0.002418  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562184;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000518  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562184;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:04.173371' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562184;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:04.173992' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1675  Schema:   QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562185;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1674  Schema:   QC_hit: No
# Query_time: 0.000577  Lock_time: 0.000497  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562185;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1674  Schema:   QC_hit: No
# Query_time: 0.001717  Lock_time: 0.000251  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562185;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1675  Schema:   QC_hit: No
# Query_time: 0.000694  Lock_time: 0.000520  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562185;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003675  Lock_time: 0.000262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562185;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001788  Lock_time: 0.001543  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562185;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562185;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:05.175547' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000373  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562185;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:05.17342' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001142  Lock_time: 0.000274  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562186;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000684  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562186;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000536  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562186;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:06.173982' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000972  Lock_time: 0.000414  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562186;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:06.174503' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001318  Lock_time: 0.000291  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562187;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562187;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:07.175271' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004636  Lock_time: 0.004425  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562187;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:07.174038' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001179  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562188;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002673  Lock_time: 0.002314  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562188;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001279  Lock_time: 0.001026  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562188;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:08.174412' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001004  Lock_time: 0.000272  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562189;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001504  Lock_time: 0.001171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562189;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:09.174944' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002207  Lock_time: 0.001815  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562189;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:09.174063' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001429  Lock_time: 0.000416  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562190;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001246  Lock_time: 0.000886  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562190;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:10.173301' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002235  Lock_time: 0.001961  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562190;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001018  Lock_time: 0.000827  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562190;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:10.173834' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000714  Lock_time: 0.000464  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562191;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000547  Lock_time: 0.000305  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562191;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:11.175126' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562191;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:11.174728' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001241  Lock_time: 0.000271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562192;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562192;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562192;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:12.173399' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001013  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562193;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000761  Lock_time: 0.000466  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562193;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.010520  Lock_time: 0.010148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562193;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:13.174545' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001066  Lock_time: 0.000316  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562194;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562194;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000513  Lock_time: 0.000233  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562194;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:14.173533' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1678  Schema:   QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000251  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562195;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1679  Schema:   QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000248  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562195;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1678  Schema:   QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000274  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562195;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1679  Schema:   QC_hit: No
# Query_time: 0.005659  Lock_time: 0.005475  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562195;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000683  Lock_time: 0.000315  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562195;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562195;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:15.173726' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562195;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:15.175484' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001044  Lock_time: 0.000255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562196;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562196;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000722  Lock_time: 0.000368  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562196;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:16.173565' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001021  Lock_time: 0.000818  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562196;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:16.173478' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000876  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562197;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000558  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562197;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562197;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:17.173766' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000567  Lock_time: 0.000259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562197;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:17.174205' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000512  Lock_time: 0.000254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562198;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562198;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:18.173837' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562198;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:18.173457' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001074  Lock_time: 0.000275  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562199;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002411  Lock_time: 0.002079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562199;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:19.172837' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004069  Lock_time: 0.003667  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562199;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002422  Lock_time: 0.002136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562199;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:19.173137' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001108  Lock_time: 0.000264  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562200;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001140  Lock_time: 0.000872  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562200;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000506  Lock_time: 0.000302  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562200;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:20.173933' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000603  Lock_time: 0.000315  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562200;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:20.175259' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000902  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562201;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562201;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:21.17387' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562201;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:21.174616' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002961  Lock_time: 0.002794  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562201;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562202;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001718  Lock_time: 0.001479  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562202;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:22.173982' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562202;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:22.173526' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001226  Lock_time: 0.000457  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562203;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562203;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003221  Lock_time: 0.002849  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562203;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:23.173312' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002065  Lock_time: 0.001709  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562203;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:23.173272' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000522  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562204;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562204;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:24.173528' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002899  Lock_time: 0.002593  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562204;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:24.174005' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1683  Schema:   QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000277  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562205;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1682  Schema:   QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000282  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562205;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1682  Schema:   QC_hit: No
# Query_time: 0.000483  Lock_time: 0.000310  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562205;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1683  Schema:   QC_hit: No
# Query_time: 0.000494  Lock_time: 0.000315  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562205;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001071  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562205;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002161  Lock_time: 0.001889  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562205;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000943  Lock_time: 0.000667  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562205;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:25.17309' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562206;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562206;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:26.174046' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562206;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:26.173656' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001067  Lock_time: 0.000267  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562207;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001308  Lock_time: 0.000945  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562207;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000549  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562207;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:27.176116' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000673  Lock_time: 0.000322  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562207;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:27.174996' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000939  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562208;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562208;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:28.175038' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001072  Lock_time: 0.000906  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562208;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562208;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:28.175291' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001211  Lock_time: 0.000402  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562209;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562209;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002343  Lock_time: 0.002102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562209;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:29.173213' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001930  Lock_time: 0.001712  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562209;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:29.173198' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1686  Schema:   QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000354  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562210;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1686  Schema:   QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562210;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000617  Lock_time: 0.000352  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562210;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002060  Lock_time: 0.001905  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562210;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:30.17334' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002075  Lock_time: 0.001925  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562210;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:30.173528' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001176  Lock_time: 0.000344  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562211;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001731  Lock_time: 0.001501  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562211;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562211;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:31.173794' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001271  Lock_time: 0.000970  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562211;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:31.173237' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562212;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562212;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:32.173103' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562212;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:32.173798' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001123  Lock_time: 0.000273  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562213;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000928  Lock_time: 0.000652  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562213;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562213;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:33.173051' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000680  Lock_time: 0.000342  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562213;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:33.174178' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562214;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562214;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:34.173072' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000588  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562214;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:34.173835' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1688  Schema:   QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000266  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562215;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1687  Schema:   QC_hit: No
# Query_time: 0.002756  Lock_time: 0.002653  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562215;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1687  Schema:   QC_hit: No
# Query_time: 0.000631  Lock_time: 0.000540  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562215;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1688  Schema:   QC_hit: No
# Query_time: 0.003668  Lock_time: 0.003465  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562215;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001145  Lock_time: 0.000314  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562215;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000999  Lock_time: 0.000810  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562215;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:35.172941' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001718  Lock_time: 0.001477  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562215;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000834  Lock_time: 0.000617  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562215;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:35.172908' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001047  Lock_time: 0.000233  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562216;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005425  Lock_time: 0.005110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562216;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004830  Lock_time: 0.004521  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562216;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:36.173345' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001738  Lock_time: 0.001537  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562216;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:36.173907' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000440  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562217;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001695  Lock_time: 0.001466  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562217;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:37.173718' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002166  Lock_time: 0.001887  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562217;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:37.173025' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000871  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562218;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562218;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001327  Lock_time: 0.001078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562218;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:38.173092' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000802  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562219;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000753  Lock_time: 0.000580  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562219;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:39.172704' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000290  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562219;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:39.173201' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002959  Lock_time: 0.001809  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562220;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000514  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562220;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:40.17404' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000670  Lock_time: 0.000463  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562220;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:40.173754' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000542  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562221;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562221;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:41.173808' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000694  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562221;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:41.173859' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003014  Lock_time: 0.002704  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562222;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005431  Lock_time: 0.004250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562222;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562222;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:42.173891' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000741  Lock_time: 0.000442  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562223;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000764  Lock_time: 0.000427  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562223;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:43.174405' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000888  Lock_time: 0.000539  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562223;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:43.17504' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001189  Lock_time: 0.000613  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562224;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000728  Lock_time: 0.000511  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562224;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562224;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:44.173899' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1693  Schema:   QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000303  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562225;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1694  Schema:   QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562225;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1693  Schema:   QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562225;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1694  Schema:   QC_hit: No
# Query_time: 0.000536  Lock_time: 0.000324  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562225;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005278  Lock_time: 0.004992  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562225;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:45.173563' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006099  Lock_time: 0.005869  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562225;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005988  Lock_time: 0.005804  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562225;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:45.17341' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004498  Lock_time: 0.003973  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562226;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000712  Lock_time: 0.000379  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562226;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:46.173595' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001270  Lock_time: 0.000941  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562226;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:46.173673' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001115  Lock_time: 0.000485  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562227;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562227;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562227;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:47.173694' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562227;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:47.173579' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562228;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562228;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:48.173078' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562228;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:48.17277' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000942  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562229;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562229;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562229;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:49.173291' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000444  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562229;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:49.173053' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001610  Lock_time: 0.000510  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562230;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001080  Lock_time: 0.000870  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562230;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562230;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:50.173598' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000478  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562231;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562231;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:51.173822' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562231;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:51.173603' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000905  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562232;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000510  Lock_time: 0.000287  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562232;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:52.172717' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001730  Lock_time: 0.001459  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562232;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001386  Lock_time: 0.000514  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562233;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562233;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:53.173673' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000677  Lock_time: 0.000470  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562233;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:53.173475' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001073  Lock_time: 0.000375  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562234;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562234;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:54.17376' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000785  Lock_time: 0.000466  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562234;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1698  Schema:   QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562235;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1697  Schema:   QC_hit: No
# Query_time: 0.000745  Lock_time: 0.000550  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562235;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1698  Schema:   QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562235;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1697  Schema:   QC_hit: No
# Query_time: 0.000746  Lock_time: 0.000568  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562235;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000657  Lock_time: 0.000357  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562235;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000918  Lock_time: 0.000743  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562235;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:55.173532' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002142  Lock_time: 0.001862  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562235;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:55.173325' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001149  Lock_time: 0.000300  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562236;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002265  Lock_time: 0.001907  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562236;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:56.172769' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001483  Lock_time: 0.001282  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562236;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:56.173033' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003539  Lock_time: 0.003100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562236;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001047  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562237;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000534  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562237;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:57.173731' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002807  Lock_time: 0.002469  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562237;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000492  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562237;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:57.173652' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562238;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000991  Lock_time: 0.000805  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562238;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:58.173658' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000699  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562238;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:58.174018' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:43:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001093  Lock_time: 0.000274  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562239;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003083  Lock_time: 0.002831  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562239;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000576  Lock_time: 0.000374  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562239;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:59.173458' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001025  Lock_time: 0.000844  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562239;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:43:59.172976' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1701  Schema:   QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000243  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562240;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1701  Schema:   QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000364  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562240;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002759  Lock_time: 0.002566  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562240;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001123  Lock_time: 0.000818  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562240;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:00.174033' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000693  Lock_time: 0.000314  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562240;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:00.174722' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000985  Lock_time: 0.000280  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562241;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000739  Lock_time: 0.000516  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562241;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002620  Lock_time: 0.002371  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562241;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:01.173936' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000557  Lock_time: 0.000229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562242;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003158  Lock_time: 0.002906  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562242;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:02.173875' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002837  Lock_time: 0.002500  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562242;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:02.174157' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001596  Lock_time: 0.000703  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562243;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562243;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562243;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:03.173328' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001749  Lock_time: 0.001546  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562244;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001089  Lock_time: 0.000787  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562244;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:04.174086' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000969  Lock_time: 0.000317  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562244;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:04.173285' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1702  Schema:   QC_hit: No
# Query_time: 0.002174  Lock_time: 0.002029  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562245;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1703  Schema:   QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000216  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562245;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1703  Schema:   QC_hit: No
# Query_time: 0.002635  Lock_time: 0.002381  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562245;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1702  Schema:   QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000294  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562245;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001432  Lock_time: 0.000494  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562245;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000555  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562245;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562245;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:05.173473' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000652  Lock_time: 0.000293  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562246;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:06.17369' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562246;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562246;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:06.174191' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001034  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562247;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001864  Lock_time: 0.001623  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562247;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002133  Lock_time: 0.001890  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562247;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:07.172992' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002685  Lock_time: 0.002436  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562248;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000601  Lock_time: 0.000283  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562248;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:08.173481' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003638  Lock_time: 0.003302  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562249;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003071  Lock_time: 0.002806  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562249;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:09.173341' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001404  Lock_time: 0.001068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562249;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:09.173756' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001262  Lock_time: 0.000523  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562250;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000326  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562250;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002858  Lock_time: 0.002641  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562250;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:10.173037' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000845  Lock_time: 0.000542  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562251;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.010001  Lock_time: 0.009741  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562251;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:11.172989' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008227  Lock_time: 0.007619  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562251;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:11.173244' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000837  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562252;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001144  Lock_time: 0.000789  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562252;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002014  Lock_time: 0.001755  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562252;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:12.173623' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000787  Lock_time: 0.000598  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562252;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:12.174258' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001051  Lock_time: 0.000288  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562253;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000709  Lock_time: 0.000322  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562253;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562253;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:13.173106' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000472  Lock_time: 0.000269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562254;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562254;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:14.173777' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000609  Lock_time: 0.000391  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562254;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:14.174076' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1706  Schema:   QC_hit: No
# Query_time: 0.000529  Lock_time: 0.000368  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562255;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1707  Schema:   QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562255;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1706  Schema:   QC_hit: No
# Query_time: 0.000472  Lock_time: 0.000397  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562255;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1707  Schema:   QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562255;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000935  Lock_time: 0.000254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562255;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001153  Lock_time: 0.000889  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562255;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:15.173759' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002373  Lock_time: 0.002070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562255;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001214  Lock_time: 0.000876  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562255;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:15.174186' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000432  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562256;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562256;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:16.174068' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562256;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:16.173429' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001470  Lock_time: 0.000696  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562257;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002165  Lock_time: 0.001874  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562257;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562257;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:17.175007' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562257;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:17.174261' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001003  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562258;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562258;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:18.17278' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002492  Lock_time: 0.001692  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562258;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001293  Lock_time: 0.000728  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562259;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002088  Lock_time: 0.001863  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562259;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562259;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:19.174113' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000540  Lock_time: 0.000326  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562259;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:19.173958' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001094  Lock_time: 0.000789  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562260;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:20.173687' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001436  Lock_time: 0.000824  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562260;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:20.173893' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002416  Lock_time: 0.002185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562260;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000957  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562261;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562261;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004219  Lock_time: 0.003896  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562261;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:21.173931' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004256  Lock_time: 0.003976  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562261;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:21.173706' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000886  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562262;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562262;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004181  Lock_time: 0.003748  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562262;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:22.172946' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001058  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562263;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001610  Lock_time: 0.001312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562263;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000853  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562263;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:23.175699' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562264;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:24.173626' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562264;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:24.173833' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1710  Schema:   QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562265;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1711  Schema:   QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562265;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1711  Schema:   QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000217  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562265;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1710  Schema:   QC_hit: No
# Query_time: 0.004140  Lock_time: 0.003977  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562265;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000939  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562265;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000904  Lock_time: 0.000647  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562265;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001476  Lock_time: 0.001226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562265;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:25.173004' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000464  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562266;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562266;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:26.173448' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000669  Lock_time: 0.000459  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562266;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:26.173115' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001074  Lock_time: 0.000317  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562267;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000432  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562267;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:27.173408' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000598  Lock_time: 0.000281  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562267;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:27.172916' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001056  Lock_time: 0.000331  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562268;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562268;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001292  Lock_time: 0.001071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562268;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:28.174118' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001707  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562269;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004120  Lock_time: 0.003826  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562269;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001634  Lock_time: 0.001451  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562269;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:29.173832' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000688  Lock_time: 0.000489  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562269;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:29.1735' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1714  Schema:   QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000270  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562270;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1714  Schema:   QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000343  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562270;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562270;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002271  Lock_time: 0.001966  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562270;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:30.173474' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002294  Lock_time: 0.001900  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562270;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:30.173409' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001029  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562271;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562271;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004980  Lock_time: 0.004499  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562271;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:31.173287' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004960  Lock_time: 0.004477  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562271;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:31.173418' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000778  Lock_time: 0.000421  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562272;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003344  Lock_time: 0.003014  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562272;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:32.173501' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003299  Lock_time: 0.002971  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562272;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:32.173727' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001144  Lock_time: 0.000266  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562273;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001271  Lock_time: 0.001041  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562273;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000353  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562273;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:33.173236' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000605  Lock_time: 0.000256  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562274;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000522  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562274;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:34.173562' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000592  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562274;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:34.173341' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1716  Schema:   QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000334  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562275;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1715  Schema:   QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562275;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1715  Schema:   QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562275;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1716  Schema:   QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000247  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562275;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001218  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562275;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000789  Lock_time: 0.000504  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562275;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562275;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:35.173163' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562276;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000458  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562276;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:36.173593' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000491  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562276;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:36.173282' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001285  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562277;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000508  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562277;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562277;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:37.173519' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562277;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:37.173458' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001027  Lock_time: 0.000240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562278;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000779  Lock_time: 0.000389  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562278;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000296  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562278;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:38.173745' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000491  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562278;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:38.174017' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001207  Lock_time: 0.000272  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562279;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002181  Lock_time: 0.001604  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562279;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:39.173472' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002728  Lock_time: 0.001563  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562279;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:39.173172' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001241  Lock_time: 0.000770  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562280;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:40.173631' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002059  Lock_time: 0.001552  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562280;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001576  Lock_time: 0.000756  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562280;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:40.173589' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001894  Lock_time: 0.000295  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562281;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001688  Lock_time: 0.001418  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562281;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000818  Lock_time: 0.000490  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562281;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:41.173669' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001048  Lock_time: 0.000892  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562281;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:41.173732' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000869  Lock_time: 0.000553  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562282;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002302  Lock_time: 0.002091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562282;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:42.1739' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002899  Lock_time: 0.002671  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562282;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:42.173159' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001054  Lock_time: 0.000315  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562283;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562283;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562283;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:43.173443' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005052  Lock_time: 0.004706  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562283;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:43.173173' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001160  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562284;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000492  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562284;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002663  Lock_time: 0.002254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562284;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:44.173283' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1720  Schema:   QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000310  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562285;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1720  Schema:   QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000292  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562285;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1721  Schema:   QC_hit: No
# Query_time: 0.000887  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562285;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1721  Schema:   QC_hit: No
# Query_time: 0.000506  Lock_time: 0.000322  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562285;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000501  Lock_time: 0.000348  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562285;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562285;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:45.17368' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562285;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:45.173046' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001164  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562286;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562286;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562286;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:46.17398' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006889  Lock_time: 0.006584  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562286;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:46.172978' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003158  Lock_time: 0.002254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562287;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562287;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562287;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:47.174' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001087  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562288;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000994  Lock_time: 0.000710  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562288;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562288;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:48.173132' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001031  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562289;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562289;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:49.173927' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562289;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:49.17352' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000905  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562290;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008573  Lock_time: 0.008266  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562290;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562290;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:50.173567' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001115  Lock_time: 0.000340  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562291;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562291;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000593  Lock_time: 0.000377  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562291;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:51.173524' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000452  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562291;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:51.173885' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001267  Lock_time: 0.000339  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562292;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001237  Lock_time: 0.001030  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562292;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:52.172942' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001568  Lock_time: 0.001376  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562292;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:52.172976' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000973  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562293;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001574  Lock_time: 0.001283  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562293;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562293;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:53.173406' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000590  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562293;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:53.173632' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562294;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001621  Lock_time: 0.001392  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562294;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:54.174137' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1726  Schema:   QC_hit: No
# Query_time: 0.000575  Lock_time: 0.000350  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562295;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1727  Schema:   QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000208  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562295;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1727  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562295;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1726  Schema:   QC_hit: No
# Query_time: 0.000640  Lock_time: 0.000473  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562295;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001089  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562295;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562295;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562295;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:55.174217' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000857  Lock_time: 0.000634  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562295;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:55.174581' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000768  Lock_time: 0.000541  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562296;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562296;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:56.173791' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562296;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:56.174035' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000863  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562297;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562297;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562297;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:57.174263' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000616  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562297;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:57.173967' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001069  Lock_time: 0.000254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562298;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001491  Lock_time: 0.001309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562298;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000495  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562298;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:58.177967' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:44:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000863  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562299;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562299;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:59.174064' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562299;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:44:59.173586' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1732  Schema:   QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000292  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562300;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1732  Schema:   QC_hit: No
# Query_time: 0.000482  Lock_time: 0.000315  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562300;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000853  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562300;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001885  Lock_time: 0.001606  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562300;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002092  Lock_time: 0.001796  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562300;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:00.173163' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001692  Lock_time: 0.001392  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562300;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:00.173881' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000522  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562301;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000373  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562301;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:01.172683' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562301;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:01.17333' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562302;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001719  Lock_time: 0.000918  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562302;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562302;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:02.173719' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000525  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562302;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:02.173716' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001689  Lock_time: 0.000566  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562303;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562303;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000629  Lock_time: 0.000368  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562303;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:03.173865' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000955  Lock_time: 0.000691  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562303;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:03.173068' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005427  Lock_time: 0.004744  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562304;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562304;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562304;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:04.173113' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1733  Schema:   QC_hit: No
# Query_time: 0.001437  Lock_time: 0.001183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562305;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1733  Schema:   QC_hit: No
# Query_time: 0.001476  Lock_time: 0.001353  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562305;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1734  Schema:   QC_hit: No
# Query_time: 0.001799  Lock_time: 0.001462  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562305;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1734  Schema:   QC_hit: No
# Query_time: 0.006115  Lock_time: 0.004399  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562305;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562305;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000579  Lock_time: 0.000364  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562305;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:05.173617' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562305;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:05.173687' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001109  Lock_time: 0.000256  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562306;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000412  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562306;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000931  Lock_time: 0.000663  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562306;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:06.173862' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000527  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562307;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562307;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:07.174461' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000734  Lock_time: 0.000530  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562307;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:07.174248' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562308;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562308;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:08.174637' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000412  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562308;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:08.174054' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000888  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562309;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002466  Lock_time: 0.002245  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562309;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000904  Lock_time: 0.000720  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562309;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:09.173839' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000522  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562310;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002869  Lock_time: 0.002572  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562310;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:10.173048' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002890  Lock_time: 0.002582  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562310;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:10.173321' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001136  Lock_time: 0.000233  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562311;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562311;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002813  Lock_time: 0.002521  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562311;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:11.173782' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002883  Lock_time: 0.002600  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562311;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:11.173606' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000848  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562312;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000757  Lock_time: 0.000501  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562312;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:12.174159' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002918  Lock_time: 0.002661  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562312;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:12.173399' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000973  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562313;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562313;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000649  Lock_time: 0.000430  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562313;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:13.174279' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562314;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000399  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562314;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:14.174504' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000522  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562314;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:14.173546' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1740  Schema:   QC_hit: No
# Query_time: 0.004442  Lock_time: 0.004261  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562315;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1741  Schema:   QC_hit: No
# Query_time: 0.000766  Lock_time: 0.000268  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562315;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1740  Schema:   QC_hit: No
# Query_time: 0.000858  Lock_time: 0.000771  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562315;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1741  Schema:   QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562315;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000791  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562315;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000513  Lock_time: 0.000294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562315;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000641  Lock_time: 0.000456  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562315;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:15.173817' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000739  Lock_time: 0.000569  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562315;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:15.173581' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000501  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562316;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562316;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:16.173352' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000806  Lock_time: 0.000289  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562316;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:16.174266' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001136  Lock_time: 0.000298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562317;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001566  Lock_time: 0.001377  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562317;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000638  Lock_time: 0.000406  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562317;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:17.173679' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000532  Lock_time: 0.000269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562317;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:17.173544' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562318;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:18.174039' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000519  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562318;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:18.174255' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000443  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562318;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001099  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562319;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562319;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562319;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:19.172974' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000455  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562319;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:19.173144' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000949  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562320;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562320;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562320;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:20.173506' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001203  Lock_time: 0.000405  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562321;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562321;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:21.173621' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000844  Lock_time: 0.000313  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562321;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:21.173405' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562322;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562322;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:22.172955' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000694  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562322;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:22.173394' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001012  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562323;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562323;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000641  Lock_time: 0.000326  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562323;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:23.173511' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000761  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562324;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001342  Lock_time: 0.000962  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562324;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:24.172572' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002768  Lock_time: 0.002361  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562324;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1746  Schema:   QC_hit: No
# Query_time: 0.001135  Lock_time: 0.000753  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562325;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1745  Schema:   QC_hit: No
# Query_time: 0.001581  Lock_time: 0.001404  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562325;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1745  Schema:   QC_hit: No
# Query_time: 0.000648  Lock_time: 0.000394  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562325;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1746  Schema:   QC_hit: No
# Query_time: 0.000626  Lock_time: 0.000419  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562325;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000708  Lock_time: 0.000422  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562325;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:25.172802' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002103  Lock_time: 0.001802  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562325;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000946  Lock_time: 0.000562  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562325;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:25.17364' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000506  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562326;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001509  Lock_time: 0.000866  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562326;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002145  Lock_time: 0.001794  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562326;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:26.174502' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001262  Lock_time: 0.000899  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562326;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:26.174379' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562327;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001966  Lock_time: 0.001598  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562327;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:27.173885' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000807  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562327;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:27.174022' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001865  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562328;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001099  Lock_time: 0.000862  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562328;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000443  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562328;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:28.172882' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562328;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:28.172746' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001966  Lock_time: 0.001689  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562329;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002440  Lock_time: 0.001815  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562329;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002290  Lock_time: 0.001896  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562329;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:29.173744' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1749  Schema:   QC_hit: No
# Query_time: 0.000387  Lock_time: 0.000257  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562330;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1749  Schema:   QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000295  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562330;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002419  Lock_time: 0.001663  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562330;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562330;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562330;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:30.17348' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000617  Lock_time: 0.000271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562331;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000493  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562331;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:31.173901' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000473  Lock_time: 0.000280  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562331;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:31.173615' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001184  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562332;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001831  Lock_time: 0.001612  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562332;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001318  Lock_time: 0.000833  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562332;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:32.172956' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000542  Lock_time: 0.000294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562333;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:33.17392' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001760  Lock_time: 0.001600  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562333;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562333;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:33.175468' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000970  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562334;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001276  Lock_time: 0.000763  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562334;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003316  Lock_time: 0.003136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562334;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:34.173103' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1750  Schema:   QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000280  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562335;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1750  Schema:   QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562335;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1751  Schema:   QC_hit: No
# Query_time: 0.000593  Lock_time: 0.000406  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562335;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1751  Schema:   QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000333  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562335;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002278  Lock_time: 0.001966  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562335;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562335;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:35.17465' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001207  Lock_time: 0.000824  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562335;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:35.173139' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001057  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562336;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562336;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001974  Lock_time: 0.001700  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562336;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:36.173387' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000524  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562336;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:36.173664' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001172  Lock_time: 0.000382  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562337;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562337;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562337;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:37.173622' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000590  Lock_time: 0.000334  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562338;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000557  Lock_time: 0.000243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562338;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:38.173051' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000455  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562338;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:38.173379' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001093  Lock_time: 0.000317  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562339;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562339;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562339;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:39.173407' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001357  Lock_time: 0.000308  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562340;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000575  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562340;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562340;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:40.174524' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000515  Lock_time: 0.000273  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562340;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:40.173773' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001172  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562341;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000591  Lock_time: 0.000269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562341;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000715  Lock_time: 0.000341  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562341;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:41.174444' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000609  Lock_time: 0.000329  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562342;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562342;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:42.173322' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003690  Lock_time: 0.003265  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562342;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:42.173792' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000951  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562343;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000495  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562343;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002650  Lock_time: 0.002249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562343;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:43.173724' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004374  Lock_time: 0.004092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562343;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:43.173936' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001095  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562344;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000709  Lock_time: 0.000377  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562344;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:44.173714' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000455  Lock_time: 0.000261  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562344;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.012655  Lock_time: 0.012246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562344;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:44.173254' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1755  Schema:   QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562345;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1754  Schema:   QC_hit: No
# Query_time: 0.008162  Lock_time: 0.007093  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562345;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1754  Schema:   QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562345;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1755  Schema:   QC_hit: No
# Query_time: 0.000835  Lock_time: 0.000676  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562345;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001284  Lock_time: 0.000404  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562345;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000479  Lock_time: 0.000270  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562345;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562345;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:45.173137' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000612  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562346;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000534  Lock_time: 0.000317  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562346;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:46.174056' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000508  Lock_time: 0.000327  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562346;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:46.1743' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001279  Lock_time: 0.000307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562347;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000599  Lock_time: 0.000283  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562347;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000826  Lock_time: 0.000371  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562347;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:47.173693' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001160  Lock_time: 0.000843  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562348;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:48.173532' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000279  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562348;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:48.17444' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000360  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562348;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000729  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562349;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002397  Lock_time: 0.002124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562349;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001183  Lock_time: 0.000810  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562349;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:49.173429' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001545  Lock_time: 0.000976  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562349;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:49.17364' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001156  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562350;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001669  Lock_time: 0.001216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562350;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:50.173822' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002544  Lock_time: 0.001959  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562350;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:50.173471' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003812  Lock_time: 0.003326  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562350;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001233  Lock_time: 0.000342  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562351;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002910  Lock_time: 0.002634  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562351;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001473  Lock_time: 0.001190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562351;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:51.17385' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001498  Lock_time: 0.001045  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562351;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:51.173624' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000850  Lock_time: 0.000346  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562352;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001394  Lock_time: 0.000487  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562352;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000539  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562352;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:52.173424' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000579  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562352;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:52.173888' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001235  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562353;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000490  Lock_time: 0.000245  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562353;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:53.173821' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000672  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562353;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:53.173964' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562354;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001050  Lock_time: 0.000307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562354;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000820  Lock_time: 0.000401  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562354;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:54.173635' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1759  Schema:   QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000301  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562355;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1758  Schema:   QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562355;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1758  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562355;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1759  Schema:   QC_hit: No
# Query_time: 0.000642  Lock_time: 0.000381  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562355;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001349  Lock_time: 0.000517  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562355;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001481  Lock_time: 0.001087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562355;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:55.172854' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000724  Lock_time: 0.000333  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562355;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:55.173359' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003610  Lock_time: 0.002785  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562356;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562356;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:56.174022' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000687  Lock_time: 0.000488  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562356;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:56.173883' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003653  Lock_time: 0.002877  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562357;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000696  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562357;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:57.173037' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000468  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562357;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:57.173119' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562358;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562358;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:58.173679' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000527  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562358;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:58.173133' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:45:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002070  Lock_time: 0.001151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562359;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562359;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:59.173567' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000668  Lock_time: 0.000435  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562359;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:45:59.176492' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1762  Schema:   QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562360;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1762  Schema:   QC_hit: No
# Query_time: 0.000505  Lock_time: 0.000271  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562360;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000638  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562360;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001036  Lock_time: 0.000571  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562361;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:00.174062' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001017  Lock_time: 0.000254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562361;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000618  Lock_time: 0.000290  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562361;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:01.173292' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562361;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000642  Lock_time: 0.000415  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562362;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000781  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562362;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:02.173305' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000980  Lock_time: 0.000375  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562362;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:02.173353' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001016  Lock_time: 0.000281  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562363;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001455  Lock_time: 0.001111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562363;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:03.174211' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002371  Lock_time: 0.001974  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562363;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:03.173904' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000542  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562364;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562364;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:04.173587' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002283  Lock_time: 0.001836  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562364;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:04.173749' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1763  Schema:   QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562365;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1764  Schema:   QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000400  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562365;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1763  Schema:   QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000338  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562365;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1764  Schema:   QC_hit: No
# Query_time: 0.000615  Lock_time: 0.000412  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562365;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000869  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562365;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000318  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562365;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562365;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:05.172978' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562365;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:05.173305' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562366;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000484  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562366;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:06.174' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005743  Lock_time: 0.005318  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562366;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:06.174052' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001105  Lock_time: 0.000270  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562367;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001037  Lock_time: 0.000783  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562367;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:07.173335' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001717  Lock_time: 0.001425  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562367;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:07.172967' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002077  Lock_time: 0.001545  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562368;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:08.173957' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000373  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562368;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:08.173401' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001007  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562369;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562369;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562369;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:09.173421' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000706  Lock_time: 0.000405  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562370;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000529  Lock_time: 0.000294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562370;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:10.173443' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000993  Lock_time: 0.000716  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562370;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:10.173649' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000919  Lock_time: 0.000256  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562371;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002039  Lock_time: 0.001798  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562371;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000657  Lock_time: 0.000434  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562371;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:11.173558' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001113  Lock_time: 0.000734  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562372;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:12.173529' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002890  Lock_time: 0.002432  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562372;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001579  Lock_time: 0.001124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562372;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:12.173911' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:13
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001143  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562373;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000914  Lock_time: 0.000464  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562373;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000511  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562373;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:13.173056' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:14
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562374;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001970  Lock_time: 0.001683  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562374;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:14.173877' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002373  Lock_time: 0.002059  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562374;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:14.173759' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1768  Schema:   QC_hit: No
# Query_time: 0.001233  Lock_time: 0.000744  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562375;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1767  Schema:   QC_hit: No
# Query_time: 0.002161  Lock_time: 0.001741  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562375;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1767  Schema:   QC_hit: No
# Query_time: 0.000803  Lock_time: 0.000618  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562375;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1768  Schema:   QC_hit: No
# Query_time: 0.001946  Lock_time: 0.001669  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562375;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001241  Lock_time: 0.000424  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562375;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000393  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562375;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562375;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:15.173977' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004407  Lock_time: 0.004122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562375;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:15.174921' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:16
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001072  Lock_time: 0.000304  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562376;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000907  Lock_time: 0.000466  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562376;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:16.174416' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001168  Lock_time: 0.000700  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562376;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:16.174789' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:17
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562377;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000444  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562377;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:17.173536' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000534  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562377;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:17.173883' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:18
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001110  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562378;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000412  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562378;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:18.173406' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562378;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:19
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000633  Lock_time: 0.000385  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562379;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000438  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562379;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:19.172508' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000493  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562379;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:19.172439' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:20
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001177  Lock_time: 0.000361  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562380;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562380;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001620  Lock_time: 0.000453  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562380;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:20.173746' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:21
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562381;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:21.173654' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001001  Lock_time: 0.000837  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562381;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:21.17344' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:22
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000757  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562382;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001761  Lock_time: 0.001492  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562382;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000600  Lock_time: 0.000424  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562382;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:22.173288' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562382;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:22.173934' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:23
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001839  Lock_time: 0.000293  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562383;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002315  Lock_time: 0.001951  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562383;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000612  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562383;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:23.174058' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:24
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003191  Lock_time: 0.002874  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562384;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000958  Lock_time: 0.000656  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562384;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:24.173646' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001555  Lock_time: 0.001344  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562384;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:24.173874' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1775  Schema:   QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562385;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1775  Schema:   QC_hit: No
# Query_time: 0.000546  Lock_time: 0.000356  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562385;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1774  Schema:   QC_hit: No
# Query_time: 0.003605  Lock_time: 0.003450  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562385;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1774  Schema:   QC_hit: No
# Query_time: 0.000372  Lock_time: 0.000309  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562385;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000881  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562385;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562385;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001785  Lock_time: 0.001587  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562385;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:25.173819' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001963  Lock_time: 0.001715  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562385;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:25.173861' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:26
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001122  Lock_time: 0.000264  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562386;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001319  Lock_time: 0.001010  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562386;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006610  Lock_time: 0.006173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562386;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:26.173277' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006626  Lock_time: 0.006190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562386;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:26.173248' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:27
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000578  Lock_time: 0.000324  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562387;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002568  Lock_time: 0.002298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562387;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:27.173691' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002539  Lock_time: 0.002253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562387;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:27.173331' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:28
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001153  Lock_time: 0.000261  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562388;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562388;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000697  Lock_time: 0.000386  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562388;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:28.17576' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:29
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000726  Lock_time: 0.000486  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562389;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:29.173988' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002269  Lock_time: 0.001940  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562389;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:29.173834' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002959  Lock_time: 0.001846  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562389;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:30
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1779  Schema:   QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000249  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562390;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1779  Schema:   QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000314  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562390;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000896  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562390;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562390;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000613  Lock_time: 0.000425  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562390;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:30.17274' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:31
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000510  Lock_time: 0.000295  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562391;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000655  Lock_time: 0.000369  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562391;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:31.173502' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000672  Lock_time: 0.000302  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562391;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:31.173694' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:32
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001610  Lock_time: 0.000809  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562392;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000982  Lock_time: 0.000755  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562392;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:32.17332' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002194  Lock_time: 0.001888  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562392;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:33
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562393;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000957  Lock_time: 0.000711  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562393;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:33.173586' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000927  Lock_time: 0.000657  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562393;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:33.173922' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:34
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001268  Lock_time: 0.000381  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562394;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000538  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562394;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562394;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:34.173526' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1782  Schema:   QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000242  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562395;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1781  Schema:   QC_hit: No
# Query_time: 0.000832  Lock_time: 0.000636  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562395;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1782  Schema:   QC_hit: No
# Query_time: 0.000995  Lock_time: 0.000757  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562395;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1781  Schema:   QC_hit: No
# Query_time: 0.000433  Lock_time: 0.000284  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562395;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562395;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000521  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562395;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:35.174921' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:36
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000941  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562396;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001431  Lock_time: 0.001064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562396;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000719  Lock_time: 0.000438  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562396;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:36.174847' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:37
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000495  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562397;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002798  Lock_time: 0.002126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562397;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000483  Lock_time: 0.000229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562397;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:37.176513' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562397;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:37.174311' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:38
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000911  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562398;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003067  Lock_time: 0.002806  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562398;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001453  Lock_time: 0.001282  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562398;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:38.17463' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001334  Lock_time: 0.001091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562398;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:38.174224' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:39
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001017  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562399;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562399;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000841  Lock_time: 0.000501  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562399;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:39.173693' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:40
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562400;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001638  Lock_time: 0.001470  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562400;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:40.172837' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000625  Lock_time: 0.000374  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562400;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:40.173488' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:41
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001021  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562401;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001178  Lock_time: 0.000844  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562401;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002256  Lock_time: 0.001993  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562401;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:41.173223' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:42
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562402;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004517  Lock_time: 0.004136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562402;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:42.17381' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004623  Lock_time: 0.004360  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562402;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:42.174291' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:43
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000929  Lock_time: 0.000547  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562403;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000653  Lock_time: 0.000396  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562403;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:43.173158' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002236  Lock_time: 0.001942  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562403;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:43.174206' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:44
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001028  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562404;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001136  Lock_time: 0.000825  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562404;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000732  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562404;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:44.172968' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1785  Schema:   QC_hit: No
# Query_time: 0.000412  Lock_time: 0.000243  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562405;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1786  Schema:   QC_hit: No
# Query_time: 0.000846  Lock_time: 0.000709  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562405;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1785  Schema:   QC_hit: No
# Query_time: 0.000812  Lock_time: 0.000595  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562405;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1786  Schema:   QC_hit: No
# Query_time: 0.000548  Lock_time: 0.000358  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562405;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001214  Lock_time: 0.000920  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562405;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562405;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:45.174538' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562405;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:45.173897' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:46
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562406;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000908  Lock_time: 0.000684  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562406;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:46.173428' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000455  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562406;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:46.174298' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:47
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000905  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562407;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001483  Lock_time: 0.001284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562407;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000742  Lock_time: 0.000466  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562407;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:47.173736' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562407;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:47.173987' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:48
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001582  Lock_time: 0.000795  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562408;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001446  Lock_time: 0.001127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562408;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:48.17302' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002381  Lock_time: 0.002035  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562408;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001061  Lock_time: 0.000691  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562408;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:48.172835' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:49
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001729  Lock_time: 0.001307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562409;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000744  Lock_time: 0.000420  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562409;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:49.173718' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001477  Lock_time: 0.000771  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562409;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:49.173284' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:50
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000886  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562410;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562410;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001992  Lock_time: 0.001733  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562410;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:50.173748' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002066  Lock_time: 0.001756  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562410;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:50.173789' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:51
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001521  Lock_time: 0.000695  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562411;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002565  Lock_time: 0.002297  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562411;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:51.172606' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001496  Lock_time: 0.001145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562411;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:51.17302' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:52
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000759  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562412;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001327  Lock_time: 0.000878  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562412;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000655  Lock_time: 0.000293  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562412;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:52.173361' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000654  Lock_time: 0.000259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562412;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:52.173447' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:53
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562413;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562413;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:53.17409' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000456  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562413;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:53.174342' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:54
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000973  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562414;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002814  Lock_time: 0.002484  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562414;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001718  Lock_time: 0.001372  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562414;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:54.172985' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1790  Schema:   QC_hit: No
# Query_time: 0.000537  Lock_time: 0.000401  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562415;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1789  Schema:   QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562415;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1789  Schema:   QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000288  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562415;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1790  Schema:   QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000240  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562415;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000963  Lock_time: 0.000660  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562415;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:55.172728' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001462  Lock_time: 0.000986  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562415;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:55.172753' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002312  Lock_time: 0.001875  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562415;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:56
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000784  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562416;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000619  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562416;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562416;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:56.1752' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:57
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000908  Lock_time: 0.000617  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562417;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:57.174384' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002118  Lock_time: 0.001804  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562417;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001079  Lock_time: 0.000699  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562417;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:57.174857' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:58
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000836  Lock_time: 0.000263  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562418;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002389  Lock_time: 0.002029  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562418;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002084  Lock_time: 0.001707  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562418;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:58.174079' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:46:59
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000927  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562419;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000674  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562419;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000749  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562419;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:46:59.173435' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:47:00
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1793  Schema:   QC_hit: No
# Query_time: 0.000412  Lock_time: 0.000259  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562420;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1793  Schema:   QC_hit: No
# Query_time: 0.000550  Lock_time: 0.000338  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562420;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001070  Lock_time: 0.000287  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562420;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562420;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:47:00.172984' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000818  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562420;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:47:00.173889' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:47:01
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562421;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562421;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:47:01.17374' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000820  Lock_time: 0.000309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562421;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:47:01.173969' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:47:02
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003659  Lock_time: 0.002853  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562422;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000719  Lock_time: 0.000497  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562422;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562422;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:47:02.174717' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:47:03
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000562  Lock_time: 0.000317  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562423;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000614  Lock_time: 0.000335  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562423;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:47:03.173344' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000717  Lock_time: 0.000452  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562423;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:47:03.17343' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:47:04
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003939  Lock_time: 0.003057  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562424;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001704  Lock_time: 0.001239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562424;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:47:04.173647' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003556  Lock_time: 0.003002  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562424;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:47:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1794  Schema:   QC_hit: No
# Query_time: 0.002250  Lock_time: 0.002103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562425;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1795  Schema:   QC_hit: No
# Query_time: 0.004058  Lock_time: 0.003940  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1649562425;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1794  Schema:   QC_hit: No
# Query_time: 0.001521  Lock_time: 0.001336  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562425;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1795  Schema:   QC_hit: No
# Query_time: 0.000866  Lock_time: 0.000689  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1649562425;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003543  Lock_time: 0.003312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562425;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000614  Lock_time: 0.000423  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562425;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:47:05.17355' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008211  Lock_time: 0.000705  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562425;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:47:05.173432' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:47:06
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001021  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562426;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000517  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562426;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002333  Lock_time: 0.002048  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562426;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:47:06.174438' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:47:07
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000685  Lock_time: 0.000291  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562427;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562427;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:47:07.174265' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000244  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562427;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:47:07.174951' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:47:08
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.007359  Lock_time: 0.006971  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562428;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:47:08.174024' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.010206  Lock_time: 0.010033  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562428;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001665  Lock_time: 0.001019  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562428;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000482  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562428;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:47:08.174702' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:47:09
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000610  Lock_time: 0.000312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562429;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001459  Lock_time: 0.000707  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562429;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562429;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:47:09.17384' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:47:10
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000570  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562430;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1045  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001152  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562430;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002473  Lock_time: 0.002092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562430;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:47:10.174735' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:47:11
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562431;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 992  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000912  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562431;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562431;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:47:11.174425' order by MODIFIED_DATE ASC limit 1;
# Time: 220410  3:47:12
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001030  Lock_time: 0.000256  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562432;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1046  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001376  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562432;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:47:12.174281' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.233.67.156]
# Thread_id: 1044  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001081  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1649562432;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2022-04-10 03:47:12.174031' order by MODIFIED_DATE ASC limit 1;